class Google::Apis::ContentV2_1::HolidayCutoff

Attributes

deadline_date[RW]

Date of the order deadline, in ISO 8601 format. E.g. “2016-11-29” for 29th November 2016. Required. Corresponds to the JSON property `deadlineDate` @return [String]

deadline_hour[RW]

Hour of the day on the deadline date until which the order has to be placed to qualify for the delivery guarantee. Possible values are: 0 (midnight), 1, …, 12 (noon), 13, …, 23. Required. Corresponds to the JSON property `deadlineHour` @return [Fixnum]

deadline_timezone[RW]

Timezone identifier for the deadline hour. A list of identifiers can be found in the AdWords API documentation. E.g. “Europe/Zurich”. Required. Corresponds to the JSON property `deadlineTimezone` @return [String]

holiday_id[RW]

Unique identifier for the holiday. Required. Corresponds to the JSON property `holidayId` @return [String]

visible_from_date[RW]

Date on which the deadline will become visible to consumers in ISO 8601 format. E.g. “2016-10-31” for 31st October 2016. Required. Corresponds to the JSON property `visibleFromDate` @return [String]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/content_v2_1/classes.rb, line 3492
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/content_v2_1/classes.rb, line 3497
def update!(**args)
  @deadline_date = args[:deadline_date] if args.key?(:deadline_date)
  @deadline_hour = args[:deadline_hour] if args.key?(:deadline_hour)
  @deadline_timezone = args[:deadline_timezone] if args.key?(:deadline_timezone)
  @holiday_id = args[:holiday_id] if args.key?(:holiday_id)
  @visible_from_date = args[:visible_from_date] if args.key?(:visible_from_date)
end