Class: Stripe::PromotionCodeUpdateParams::Restrictions
- Inherits:
-
RequestParams
- Object
- RequestParams
- Stripe::PromotionCodeUpdateParams::Restrictions
- Defined in:
- lib/stripe/params/promotion_code_update_params.rb
Defined Under Namespace
Classes: CurrencyOptions
Instance Attribute Summary collapse
-
#currency_options ⇒ Object
Promotion codes defined in each available currency option.
Instance Method Summary collapse
-
#initialize(currency_options: nil) ⇒ Restrictions
constructor
A new instance of Restrictions.
Methods inherited from RequestParams
Constructor Details
#initialize(currency_options: nil) ⇒ Restrictions
Returns a new instance of Restrictions.
18 19 20 |
# File 'lib/stripe/params/promotion_code_update_params.rb', line 18 def initialize(currency_options: nil) @currency_options = end |
Instance Attribute Details
#currency_options ⇒ Object
Promotion codes 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).
16 17 18 |
# File 'lib/stripe/params/promotion_code_update_params.rb', line 16 def @currency_options end |