Class: Google::Apis::MerchantapiAccountsV1beta::LocalCutoffTime

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

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

#hourFixnum

Hour local delivery orders must be placed by to process the same day. Corresponds to the JSON property hour

Returns:

  • (Fixnum)


1353
1354
1355
# File 'lib/google/apis/merchantapi_accounts_v1beta/classes.rb', line 1353

def hour
  @hour
end

#minuteFixnum

Minute local delivery orders must be placed by to process the same day. Corresponds to the JSON property minute

Returns:

  • (Fixnum)


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