Class: Google::Apis::ContentV2::HolidayCutoff
- Inherits:
- 
      Object
      
        - Object
- Google::Apis::ContentV2::HolidayCutoff
 
- Defined in:
- generated/google/apis/content_v2/classes.rb,
 generated/google/apis/content_v2/representations.rb,
 generated/google/apis/content_v2/representations.rb
Instance Attribute Summary collapse
- 
  
    
      #deadline_date  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    Date of the order deadline, in ISO 8601 format. 
- 
  
    
      #deadline_hour  ⇒ Fixnum 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    Hour of the day on the deadline date until which the order has to be placed to qualify for the delivery guarantee. 
- 
  
    
      #deadline_timezone  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    Timezone identifier for the deadline hour. 
- 
  
    
      #holiday_id  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    Unique identifier for the holiday. 
- 
  
    
      #visible_from_date  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    Date on which the deadline will become visible to consumers in ISO 8601 format. 
Instance Method Summary collapse
- 
  
    
      #initialize(**args)  ⇒ HolidayCutoff 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    A new instance of HolidayCutoff. 
- 
  
    
      #update!(**args)  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    Update properties of this object. 
Methods included from Google::Apis::Core::JsonObjectSupport
Methods included from Google::Apis::Core::Hashable
Constructor Details
#initialize(**args) ⇒ HolidayCutoff
Returns a new instance of HolidayCutoff
| 2157 2158 2159 | # File 'generated/google/apis/content_v2/classes.rb', line 2157 def initialize(**args) update!(**args) end | 
Instance Attribute Details
#deadline_date ⇒ String
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
| 2131 2132 2133 | # File 'generated/google/apis/content_v2/classes.rb', line 2131 def deadline_date @deadline_date end | 
#deadline_hour ⇒ Fixnum
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
| 2138 2139 2140 | # File 'generated/google/apis/content_v2/classes.rb', line 2138 def deadline_hour @deadline_hour end | 
#deadline_timezone ⇒ String
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
| 2144 2145 2146 | # File 'generated/google/apis/content_v2/classes.rb', line 2144 def deadline_timezone @deadline_timezone end | 
#holiday_id ⇒ String
Unique identifier for the holiday. Required.
Corresponds to the JSON property holidayId
| 2149 2150 2151 | # File 'generated/google/apis/content_v2/classes.rb', line 2149 def holiday_id @holiday_id end | 
#visible_from_date ⇒ String
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
| 2155 2156 2157 | # File 'generated/google/apis/content_v2/classes.rb', line 2155 def visible_from_date @visible_from_date end | 
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
| 2162 2163 2164 2165 2166 2167 2168 | # File 'generated/google/apis/content_v2/classes.rb', line 2162 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 |