Class: Google::Apis::ContentV2_1::ServiceStoreConfigCutoffConfigLocalCutoffTime

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

Overview

Time in hours and minutes in the local timezone when local delivery ends.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ ServiceStoreConfigCutoffConfigLocalCutoffTime

Returns a new instance of ServiceStoreConfigCutoffConfigLocalCutoffTime.



13544
13545
13546
# File 'lib/google/apis/content_v2_1/classes.rb', line 13544

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)


13537
13538
13539
# File 'lib/google/apis/content_v2_1/classes.rb', line 13537

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)


13542
13543
13544
# File 'lib/google/apis/content_v2_1/classes.rb', line 13542

def minute
  @minute
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



13549
13550
13551
13552
# File 'lib/google/apis/content_v2_1/classes.rb', line 13549

def update!(**args)
  @hour = args[:hour] if args.key?(:hour)
  @minute = args[:minute] if args.key?(:minute)
end