java.lang.Object | ||
↳ | com.google.firebase.appindexing.builders.IndexableBuilder<com.google.firebase.appindexing.builders.LocalBusinessBuilder> | |
↳ | com.google.firebase.appindexing.builders.LocalBusinessBuilder |
Builder to construct an Indexable
for a local business.
For reference, see: http://schema.org/LocalBusiness.
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Sets the physical address of the local business.
| |||||||||||
Sets the overall rating of the local business.
| |||||||||||
Sets the geo coordinates of the local business.
| |||||||||||
Sets the price range of the local business.
| |||||||||||
Sets the telephone number of the local business.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() | |||||||||||
![]() |
Sets the physical address of the local business.
Parameters | |
---|---|
address |
PostalAddressBuilder :
The the physical address of the business.
|
Returns | |
---|---|
LocalBusinessBuilder |
Sets the overall rating of the local business.
Parameters | |
---|---|
aggregateRating |
AggregateRatingBuilder :
The overall rating, based on a collection of reviews or ratings.
|
Returns | |
---|---|
LocalBusinessBuilder |
Sets the geo coordinates of the local business.
Parameters | |
---|---|
geoShape |
GeoShapeBuilder :
The geo coordinates of the local business.
|
Returns | |
---|---|
LocalBusinessBuilder |
Sets the price range of the local business.
Parameters | |
---|---|
priceRange |
String :
The price range of the business. For example, "$11-30".
|
Returns | |
---|---|
LocalBusinessBuilder |
Sets the telephone number of the local business.
Parameters | |
---|---|
telephone |
String :
The telephone number of the business.
|
Returns | |
---|---|
LocalBusinessBuilder |