Class: Google::Apis::MybusinessplaceactionsV1::FulfillmentOption
- Inherits:
-
Object
- Object
- Google::Apis::MybusinessplaceactionsV1::FulfillmentOption
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/mybusinessplaceactions_v1/classes.rb,
lib/google/apis/mybusinessplaceactions_v1/representations.rb,
lib/google/apis/mybusinessplaceactions_v1/representations.rb
Overview
The fulfillment option for an order online action.
Instance Attribute Summary collapse
-
#available_day ⇒ Array<Google::Apis::MybusinessplaceactionsV1::AvailableDay>
A list of days on which there is availability for this fulfillment method ( preferably at least 2).
-
#fee_details ⇒ Google::Apis::MybusinessplaceactionsV1::FeeDetails
Fee details for the fulfillment method associated with the action.
-
#fulfillment_type ⇒ String
Fulfillment type Corresponds to the JSON property
fulfillmentType. -
#minimum_order ⇒ Google::Apis::MybusinessplaceactionsV1::Money
Represents an amount of money with its currency type.
Instance Method Summary collapse
-
#initialize(**args) ⇒ FulfillmentOption
constructor
A new instance of FulfillmentOption.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ FulfillmentOption
Returns a new instance of FulfillmentOption.
191 192 193 |
# File 'lib/google/apis/mybusinessplaceactions_v1/classes.rb', line 191 def initialize(**args) update!(**args) end |
Instance Attribute Details
#available_day ⇒ Array<Google::Apis::MybusinessplaceactionsV1::AvailableDay>
A list of days on which there is availability for this fulfillment method (
preferably at least 2).
Corresponds to the JSON property availableDay
174 175 176 |
# File 'lib/google/apis/mybusinessplaceactions_v1/classes.rb', line 174 def available_day @available_day end |
#fee_details ⇒ Google::Apis::MybusinessplaceactionsV1::FeeDetails
Fee details for the fulfillment method associated with the action.
Corresponds to the JSON property feeDetails
179 180 181 |
# File 'lib/google/apis/mybusinessplaceactions_v1/classes.rb', line 179 def fee_details @fee_details end |
#fulfillment_type ⇒ String
Fulfillment type
Corresponds to the JSON property fulfillmentType
184 185 186 |
# File 'lib/google/apis/mybusinessplaceactions_v1/classes.rb', line 184 def fulfillment_type @fulfillment_type end |
#minimum_order ⇒ Google::Apis::MybusinessplaceactionsV1::Money
Represents an amount of money with its currency type.
Corresponds to the JSON property minimumOrder
189 190 191 |
# File 'lib/google/apis/mybusinessplaceactions_v1/classes.rb', line 189 def minimum_order @minimum_order end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
196 197 198 199 200 201 |
# File 'lib/google/apis/mybusinessplaceactions_v1/classes.rb', line 196 def update!(**args) @available_day = args[:available_day] if args.key?(:available_day) @fee_details = args[:fee_details] if args.key?(:fee_details) @fulfillment_type = args[:fulfillment_type] if args.key?(:fulfillment_type) @minimum_order = args[:minimum_order] if args.key?(:minimum_order) end |