GoogleApi.MyBusinessBusinessInformation.V1.Model.ServiceAreaBusiness (google_api_my_business_business_information v0.5.2)

View Source

Service area businesses provide their service at the customer's location (for example, a locksmith or plumber).

Attributes

  • businessType (type: String.t, default: nil) - Required. Indicates the type of the service area business.
  • places (type: GoogleApi.MyBusinessBusinessInformation.V1.Model.Places.t, default: nil) - The area that this business serves defined through a set of places.
  • regionCode (type: String.t, default: nil) - Immutable. CLDR region code of the country/region that this service area business is based in. See http://cldr.unicode.org/ and http://www.unicode.org/cldr/charts/30/supplemental/territory_information.html for details. Example: "CH" for Switzerland. This field is required for CUSTOMER_LOCATION_ONLY businesses, and is ignored otherwise. The region specified here can be different from regions for the areas that this business serves (e.g. service area businesses that provide services in regions other than the one that they are based in). If this location requires verification after creation, the address provided for verification purposes must be located within this region, and the business owner or their authorized representative must be able to receive postal mail at the provided verification address.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

t()

@type t() :: %GoogleApi.MyBusinessBusinessInformation.V1.Model.ServiceAreaBusiness{
  businessType: String.t() | nil,
  places: GoogleApi.MyBusinessBusinessInformation.V1.Model.Places.t() | nil,
  regionCode: String.t() | nil
}

Functions

decode(value, options)

@spec decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.