Class: Stripe::ShippingRate::UpdateParams::FixedAmount

Inherits:
RequestParams
  • Object
show all
Defined in:
lib/stripe/resources/shipping_rate.rb

Defined Under Namespace

Classes: CurrencyOptions

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from RequestParams

#to_h

Constructor Details

#initialize(currency_options: nil) ⇒ FixedAmount

Returns a new instance of FixedAmount.



219
220
221
# File 'lib/stripe/resources/shipping_rate.rb', line 219

def initialize(currency_options: nil)
  @currency_options = currency_options
end

Instance Attribute Details

#currency_optionsObject

Shipping rates defined in each available currency option. Each key must be a three-letter [ISO currency code](www.iso.org/iso-4217-currency-codes.html) and a [supported currency](stripe.com/docs/currencies).



217
218
219
# File 'lib/stripe/resources/shipping_rate.rb', line 217

def currency_options
  @currency_options
end