Class: Google::Apis::MerchantapiAccountsV1beta::LocalCutoffTime
- Inherits:
-
Object
- Object
- Google::Apis::MerchantapiAccountsV1beta::LocalCutoffTime
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/merchantapi_accounts_v1beta/classes.rb,
lib/google/apis/merchantapi_accounts_v1beta/representations.rb,
lib/google/apis/merchantapi_accounts_v1beta/representations.rb
Overview
Time that local delivery ends for the day.
Instance Attribute Summary collapse
-
#hour ⇒ Fixnum
Hour local delivery orders must be placed by to process the same day.
-
#minute ⇒ Fixnum
Minute local delivery orders must be placed by to process the same day.
Instance Method Summary collapse
-
#initialize(**args) ⇒ LocalCutoffTime
constructor
A new instance of LocalCutoffTime.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ LocalCutoffTime
Returns a new instance of LocalCutoffTime.
1360 1361 1362 |
# File 'lib/google/apis/merchantapi_accounts_v1beta/classes.rb', line 1360 def initialize(**args) update!(**args) end |
Instance Attribute Details
#hour ⇒ Fixnum
Hour local delivery orders must be placed by to process the same day.
Corresponds to the JSON property hour
1353 1354 1355 |
# File 'lib/google/apis/merchantapi_accounts_v1beta/classes.rb', line 1353 def hour @hour end |
#minute ⇒ Fixnum
Minute local delivery orders must be placed by to process the same day.
Corresponds to the JSON property minute
1358 1359 1360 |
# File 'lib/google/apis/merchantapi_accounts_v1beta/classes.rb', line 1358 def minute @minute end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1365 1366 1367 1368 |
# File 'lib/google/apis/merchantapi_accounts_v1beta/classes.rb', line 1365 def update!(**args) @hour = args[:hour] if args.key?(:hour) @minute = args[:minute] if args.key?(:minute) end |