google_api_content v0.9.0 GoogleApi.Content.V2.Model.Service View Source

Attributes

  • active (boolean()): A boolean exposing the active status of the shipping service. Required. Defaults to: null.
  • currency (String.t): The CLDR code of the currency to which this service applies. Must match that of the prices in rate groups. Defaults to: null.
  • deliveryCountry (String.t): The CLDR territory code of the country to which the service applies. Required. Defaults to: null.
  • deliveryTime (DeliveryTime): Time spent in various aspects from order to the delivery of the product. Required. Defaults to: null.
  • eligibility (String.t): Eligibility for this service. Defaults to: null.
  • minimumOrderValue (Price): Minimum order value for this service. If set, indicates that customers will have to spend at least this amount. All prices within a service must have the same currency. Defaults to: null.
  • name (String.t): Free-form name of the service. Must be unique within target account. Required. Defaults to: null.
  • rateGroups ([RateGroup]): Shipping rate group definitions. Only the last one is allowed to have an empty applicableShippingLabels, which means "everything else". The other applicableShippingLabels must not overlap. Defaults to: null.

Link to this section Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Link to this section Types

Link to this type

t() View Source
t() :: %GoogleApi.Content.V2.Model.Service{
  active: any(),
  currency: any(),
  deliveryCountry: any(),
  deliveryTime: GoogleApi.Content.V2.Model.DeliveryTime.t(),
  eligibility: any(),
  minimumOrderValue: GoogleApi.Content.V2.Model.Price.t(),
  name: any(),
  rateGroups: [GoogleApi.Content.V2.Model.RateGroup.t()]
}

Link to this section Functions

Link to this function

decode(value, options) View Source
decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.