Class: Stripe::PromotionCodeService::CreateParams::Restrictions::CurrencyOptions
- Inherits:
-
RequestParams
- Object
- RequestParams
- Stripe::PromotionCodeService::CreateParams::Restrictions::CurrencyOptions
- Defined in:
- lib/stripe/services/promotion_code_service.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.
72 73 74 |
# File 'lib/stripe/services/promotion_code_service.rb', line 72 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).
70 71 72 |
# File 'lib/stripe/services/promotion_code_service.rb', line 70 def minimum_amount @minimum_amount end |