Class: Google::Apis::ContentV2_1::CutoffTime
- Inherits:
-
Object
- Object
- Google::Apis::ContentV2_1::CutoffTime
- Includes:
- Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
- Defined in:
- lib/google/apis/content_v2_1/classes.rb,
lib/google/apis/content_v2_1/representations.rb,
lib/google/apis/content_v2_1/representations.rb
Instance Attribute Summary collapse
-
#hour ⇒ Fixnum
Hour of the cutoff time until which an order has to be placed to be processed in the same day.
-
#minute ⇒ Fixnum
Minute of the cutoff time until which an order has to be placed to be processed in the same day.
-
#timezone ⇒ String
Timezone identifier for the cutoff time (for example, "Europe/Zurich").
Instance Method Summary collapse
-
#initialize(**args) ⇒ CutoffTime
constructor
A new instance of CutoffTime.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ CutoffTime
Returns a new instance of CutoffTime.
3648 3649 3650 |
# File 'lib/google/apis/content_v2_1/classes.rb', line 3648 def initialize(**args) update!(**args) end |
Instance Attribute Details
#hour ⇒ Fixnum
Hour of the cutoff time until which an order has to be placed to be processed
in the same day. Required.
Corresponds to the JSON property hour
3634 3635 3636 |
# File 'lib/google/apis/content_v2_1/classes.rb', line 3634 def hour @hour end |
#minute ⇒ Fixnum
Minute of the cutoff time until which an order has to be placed to be
processed in the same day. Required.
Corresponds to the JSON property minute
3640 3641 3642 |
# File 'lib/google/apis/content_v2_1/classes.rb', line 3640 def minute @minute end |
#timezone ⇒ String
Timezone identifier for the cutoff time (for example, "Europe/Zurich"). List
of identifiers. Required.
Corresponds to the JSON property timezone
3646 3647 3648 |
# File 'lib/google/apis/content_v2_1/classes.rb', line 3646 def timezone @timezone end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
3653 3654 3655 3656 3657 |
# File 'lib/google/apis/content_v2_1/classes.rb', line 3653 def update!(**args) @hour = args[:hour] if args.key?(:hour) @minute = args[:minute] if args.key?(:minute) @timezone = args[:timezone] if args.key?(:timezone) end |