GoogleApi.Content.V2.Model.HolidaysHoliday (google_api_content v0.58.0) View Source

Attributes

  • countryCode (type: String.t, default: nil) - The CLDR territory code of the country in which the holiday is available. E.g. "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. E.g. "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. E.g. "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"

Link to this section Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Link to this section Types

Specs

t() :: %GoogleApi.Content.V2.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
}

Link to this section Functions

Specs

decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.