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

Time local delivery ends for the day based on the local timezone of the store. local_cutoff_time and store_close_offset_hours are mutually exclusive.

Attributes

  • localCutoffTime (type: GoogleApi.Content.V21.Model.ServiceStoreConfigCutoffConfigLocalCutoffTime.t, default: nil) - Time in hours and minutes in the local timezone when local delivery ends.
  • noDeliveryPostCutoff (type: boolean(), default: nil) - Merchants can opt-out of showing n+1 day local delivery when they have a shipping service configured to n day local delivery. For example, if the shipping service defines same-day delivery, and it's past the cut-off, setting this field to true results in the calculated shipping service rate returning NO_DELIVERY_POST_CUTOFF. In the same example, setting this field to false results in the calculated shipping time being one day. This is only for local delivery.
  • storeCloseOffsetHours (type: String.t, default: nil) - Represents cutoff time as the number of hours before store closing. Mutually exclusive with other fields (hour and minute).

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.Content.V21.Model.ServiceStoreConfigCutoffConfig{
  localCutoffTime:
    GoogleApi.Content.V21.Model.ServiceStoreConfigCutoffConfigLocalCutoffTime.t()
    | nil,
  noDeliveryPostCutoff: boolean() | nil,
  storeCloseOffsetHours: String.t() | nil
}

Functions

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

Unwrap a decoded JSON object into its complex fields.