Builder to construct an Indexable
for a local business.
For reference, see: //schema.org/LocalBusiness.
Public Method Summary
LocalBusinessBuilder | |
LocalBusinessBuilder |
setAggregateRating(AggregateRatingBuilder
aggregateRating)
Sets the overall rating of the local business.
|
LocalBusinessBuilder | |
LocalBusinessBuilder | |
LocalBusinessBuilder |
Inherited Method Summary
Public Methods
public LocalBusinessBuilder setAddress (PostalAddressBuilder address)
Sets the physical address of the local business.
Parameters
address | The the physical address of the business. |
---|
public LocalBusinessBuilder setAggregateRating (AggregateRatingBuilder aggregateRating)
Sets the overall rating of the local business.
Parameters
aggregateRating | The overall rating, based on a collection of reviews or ratings. |
---|
public LocalBusinessBuilder setGeo (GeoShapeBuilder geoShape)
Sets the geo coordinates of the local business.
Parameters
geoShape | The geo coordinates of the local business. |
---|
public LocalBusinessBuilder setPriceRange (String priceRange)
Sets the price range of the local business.
Parameters
priceRange | The price range of the business. For example, "$11-30". |
---|
public LocalBusinessBuilder setTelephone (String telephone)
Sets the telephone number of the local business.
Parameters
telephone | The telephone number of the business. |
---|