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

View Source

A message that describes a single service item. It is used to describe the type of service that the merchant provides. For example, haircut can be a service.

Attributes

  • freeFormServiceItem (type: GoogleApi.MyBusinessBusinessInformation.V1.Model.FreeFormServiceItem.t, default: nil) - Optional. This field will be set case of free-form services data.
  • price (type: GoogleApi.MyBusinessBusinessInformation.V1.Model.Money.t, default: nil) - Optional. Represents the monetary price of the service item. We recommend that currency_code and units should be set when including a price. This will be treated as a fixed price for the service item.
  • structuredServiceItem (type: GoogleApi.MyBusinessBusinessInformation.V1.Model.StructuredServiceItem.t, default: nil) - Optional. This field will be set case of structured services data.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

t()

@type t() :: %GoogleApi.MyBusinessBusinessInformation.V1.Model.ServiceItem{
  freeFormServiceItem:
    GoogleApi.MyBusinessBusinessInformation.V1.Model.FreeFormServiceItem.t()
    | nil,
  price: GoogleApi.MyBusinessBusinessInformation.V1.Model.Money.t() | nil,
  structuredServiceItem:
    GoogleApi.MyBusinessBusinessInformation.V1.Model.StructuredServiceItem.t()
    | nil
}

Functions

decode(value, options)

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

Unwrap a decoded JSON object into its complex fields.