Class: Stripe::PromotionCodeCreateParams::Restrictions::CurrencyOptions
- Inherits:
-
RequestParams
- Object
- RequestParams
- Stripe::PromotionCodeCreateParams::Restrictions::CurrencyOptions
- Defined in:
- lib/stripe/params/promotion_code_create_params.rb
Instance Attribute Summary collapse
-
#minimum_amount ⇒ Object
Minimum amount required to redeem this Promotion Code into a Coupon (e.g., a purchase must be $100 or more to work).
Instance Method Summary collapse
-
#initialize(minimum_amount: nil) ⇒ CurrencyOptions
constructor
A new instance of CurrencyOptions.
Methods inherited from RequestParams
Constructor Details
#initialize(minimum_amount: nil) ⇒ CurrencyOptions
Returns a new instance of CurrencyOptions.
23 24 25 |
# File 'lib/stripe/params/promotion_code_create_params.rb', line 23 def initialize(minimum_amount: nil) @minimum_amount = minimum_amount end |
Instance Attribute Details
#minimum_amount ⇒ Object
Minimum amount required to redeem this Promotion Code into a Coupon (e.g., a purchase must be $100 or more to work).
21 22 23 |
# File 'lib/stripe/params/promotion_code_create_params.rb', line 21 def minimum_amount @minimum_amount end |