Class: Google::Apis::MybusinessplaceactionsV1::FeeDetails
- Inherits:
-
Object
- Object
- Google::Apis::MybusinessplaceactionsV1::FeeDetails
- 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
Fee details for the fulfillment method associated with the action.
Instance Attribute Summary collapse
-
#base_fee ⇒ Google::Apis::MybusinessplaceactionsV1::MinimumFee
The minimum fee required for the fulfillment method.
-
#fixed_fee ⇒ Google::Apis::MybusinessplaceactionsV1::FixedFee
The fixed fee required for the fulfillment method.
-
#no_fee ⇒ Google::Apis::MybusinessplaceactionsV1::NoFee
No fee required for the fulfillment method associated with the action.
Instance Method Summary collapse
-
#initialize(**args) ⇒ FeeDetails
constructor
A new instance of FeeDetails.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ FeeDetails
Returns a new instance of FeeDetails.
135 136 137 |
# File 'lib/google/apis/mybusinessplaceactions_v1/classes.rb', line 135 def initialize(**args) update!(**args) end |
Instance Attribute Details
#base_fee ⇒ Google::Apis::MybusinessplaceactionsV1::MinimumFee
The minimum fee required for the fulfillment method.
Corresponds to the JSON property baseFee
123 124 125 |
# File 'lib/google/apis/mybusinessplaceactions_v1/classes.rb', line 123 def base_fee @base_fee end |
#fixed_fee ⇒ Google::Apis::MybusinessplaceactionsV1::FixedFee
The fixed fee required for the fulfillment method.
Corresponds to the JSON property fixedFee
128 129 130 |
# File 'lib/google/apis/mybusinessplaceactions_v1/classes.rb', line 128 def fixed_fee @fixed_fee end |
#no_fee ⇒ Google::Apis::MybusinessplaceactionsV1::NoFee
No fee required for the fulfillment method associated with the action.
Corresponds to the JSON property noFee
133 134 135 |
# File 'lib/google/apis/mybusinessplaceactions_v1/classes.rb', line 133 def no_fee @no_fee end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
140 141 142 143 144 |
# File 'lib/google/apis/mybusinessplaceactions_v1/classes.rb', line 140 def update!(**args) @base_fee = args[:base_fee] if args.key?(:base_fee) @fixed_fee = args[:fixed_fee] if args.key?(:fixed_fee) @no_fee = args[:no_fee] if args.key?(:no_fee) end |