Class: Google::Apis::MybusinessplaceactionsV1::MinimumFee

Inherits:
Object
  • Object
show all
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 minimum fee required for the fulfillment method.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ MinimumFee

Returns a new instance of MinimumFee.



267
268
269
# File 'lib/google/apis/mybusinessplaceactions_v1/classes.rb', line 267

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#base_fee_amountGoogle::Apis::MybusinessplaceactionsV1::Money

Represents an amount of money with its currency type. Corresponds to the JSON property baseFeeAmount



265
266
267
# File 'lib/google/apis/mybusinessplaceactions_v1/classes.rb', line 265

def base_fee_amount
  @base_fee_amount
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



272
273
274
# File 'lib/google/apis/mybusinessplaceactions_v1/classes.rb', line 272

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