View Source GoogleApi.Content.V21.Model.HolidaysHoliday (google_api_content v0.66.0)

Attributes

  • countryCode (type: String.t, default: nil) - The CLDR territory code of the country in which the holiday is available. For example, "US", "DE", "GB". A holiday cutoff can only be configured in a shipping settings service with matching delivery country. Always present.
  • date (type: String.t, default: nil) - Date of the holiday, in ISO 8601 format. For example, "2016-12-25" for Christmas 2016. Always present.
  • deliveryGuaranteeDate (type: String.t, default: nil) - Date on which the order has to arrive at the customer's, in ISO 8601 format. For example, "2016-12-24" for 24th December 2016. Always present.
  • deliveryGuaranteeHour (type: String.t, default: nil) - Hour of the day in the delivery location's timezone on the guaranteed delivery date by which the order has to arrive at the customer's. Possible values are: 0 (midnight), 1, ..., 12 (noon), 13, ..., 23. Always present.
  • id (type: String.t, default: nil) - Unique identifier for the holiday to be used when configuring holiday cutoffs. Always present.
  • type (type: String.t, default: nil) - The holiday type. Always present. Acceptable values are: - "Christmas" - "Easter" - "Father's Day" - "Halloween" - "Independence Day (USA)" - "Mother's Day" - "Thanksgiving" - "Valentine's Day"

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.Content.V21.Model.HolidaysHoliday{
  countryCode: String.t() | nil,
  date: String.t() | nil,
  deliveryGuaranteeDate: String.t() | nil,
  deliveryGuaranteeHour: String.t() | nil,
  id: String.t() | nil,
  type: String.t() | nil
}

Functions

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

Unwrap a decoded JSON object into its complex fields.