View Source GoogleApi.Content.V21.Model.ServiceStoreConfig (google_api_content v0.67.1)

Stores that provide local delivery. Only valid with local delivery fulfillment.

Attributes

  • cutoffConfig (type: GoogleApi.Content.V21.Model.ServiceStoreConfigCutoffConfig.t, default: nil) - Time local delivery ends for the day. This can be either local_cutoff_time or store_close_offset_hours, if both are provided an error is thrown.
  • serviceRadius (type: GoogleApi.Content.V21.Model.Distance.t, default: nil) - Maximum delivery radius. Only needed for local delivery fulfillment type.
  • storeCodes (type: list(String.t), default: nil) - A list of store codes that provide local delivery. If empty, then store_service_type must be all_stores, or an error is thrown. If not empty, then store_service_type must be selected_stores, or an error is thrown.
  • storeServiceType (type: String.t, default: nil) - Indicates whether all stores listed by this merchant provide local delivery or not. Acceptable values are all stores and selected stores

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.Content.V21.Model.ServiceStoreConfig{
  cutoffConfig:
    GoogleApi.Content.V21.Model.ServiceStoreConfigCutoffConfig.t() | nil,
  serviceRadius: GoogleApi.Content.V21.Model.Distance.t() | nil,
  storeCodes: [String.t()] | nil,
  storeServiceType: String.t() | nil
}

Functions

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

Unwrap a decoded JSON object into its complex fields.