Class: Google::Apis::ContentV2::TransitTableTransitTimeRowTransitTimeValue
- Inherits:
-
Object
- Object
- Google::Apis::ContentV2::TransitTableTransitTimeRowTransitTimeValue
- Includes:
- Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
- Defined in:
- lib/google/apis/content_v2/classes.rb,
lib/google/apis/content_v2/representations.rb,
lib/google/apis/content_v2/representations.rb
Instance Attribute Summary collapse
-
#max_transit_time_in_days ⇒ Fixnum
Must be greater than or equal to
minTransitTimeInDays
. -
#min_transit_time_in_days ⇒ Fixnum
Transit time range (min-max) in business days.
Instance Method Summary collapse
-
#initialize(**args) ⇒ TransitTableTransitTimeRowTransitTimeValue
constructor
A new instance of TransitTableTransitTimeRowTransitTimeValue.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ TransitTableTransitTimeRowTransitTimeValue
Returns a new instance of TransitTableTransitTimeRowTransitTimeValue.
11034 11035 11036 |
# File 'lib/google/apis/content_v2/classes.rb', line 11034 def initialize(**args) update!(**args) end |
Instance Attribute Details
#max_transit_time_in_days ⇒ Fixnum
Must be greater than or equal to minTransitTimeInDays
.
Corresponds to the JSON property maxTransitTimeInDays
11026 11027 11028 |
# File 'lib/google/apis/content_v2/classes.rb', line 11026 def max_transit_time_in_days @max_transit_time_in_days end |
#min_transit_time_in_days ⇒ Fixnum
Transit time range (min-max) in business days. 0 means same day delivery, 1
means next day delivery.
Corresponds to the JSON property minTransitTimeInDays
11032 11033 11034 |
# File 'lib/google/apis/content_v2/classes.rb', line 11032 def min_transit_time_in_days @min_transit_time_in_days end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
11039 11040 11041 11042 |
# File 'lib/google/apis/content_v2/classes.rb', line 11039 def update!(**args) @max_transit_time_in_days = args[:max_transit_time_in_days] if args.key?(:max_transit_time_in_days) @min_transit_time_in_days = args[:min_transit_time_in_days] if args.key?(:min_transit_time_in_days) end |