google_api_content v0.4.0 GoogleApi.Content.V2.Model.HolidaysHoliday View Source

Attributes

  • countryCode (String.t): 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. Defaults to: null.
  • date (String.t): Date of the holiday, in ISO 8601 format. E.g. "2016-12-25" for Christmas 2016. Always present. Defaults to: null.
  • deliveryGuaranteeDate (String.t): 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. Defaults to: null.
  • deliveryGuaranteeHour (String.t): 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. Defaults to: null.
  • id (String.t): Unique identifier for the holiday to be used when configuring holiday cutoffs. Always present. Defaults to: null.
  • type (String.t): The holiday type. Always present. 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.HolidaysHoliday{
  countryCode: any(),
  date: any(),
  deliveryGuaranteeDate: any(),
  deliveryGuaranteeHour: any(),
  id: any(),
  type: any()
}

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.