Class: Stripe::CouponCreateParams::CurrencyOptions
- Inherits:
-
RequestParams
- Object
- RequestParams
- Stripe::CouponCreateParams::CurrencyOptions
- Defined in:
- lib/stripe/params/coupon_create_params.rb
Instance Attribute Summary collapse
-
#amount_off ⇒ Object
A positive integer representing the amount to subtract from an invoice total.
Instance Method Summary collapse
-
#initialize(amount_off: nil) ⇒ CurrencyOptions
constructor
A new instance of CurrencyOptions.
Methods inherited from RequestParams
Constructor Details
#initialize(amount_off: nil) ⇒ CurrencyOptions
Returns a new instance of CurrencyOptions.
19 20 21 |
# File 'lib/stripe/params/coupon_create_params.rb', line 19 def initialize(amount_off: nil) @amount_off = amount_off end |
Instance Attribute Details
#amount_off ⇒ Object
A positive integer representing the amount to subtract from an invoice total.
17 18 19 |
# File 'lib/stripe/params/coupon_create_params.rb', line 17 def amount_off @amount_off end |