Class: Stripe::Coupon::UpdateParams::CurrencyOptions

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from RequestParams

#to_h

Constructor Details

#initialize(amount_off: nil) ⇒ CurrencyOptions

Returns a new instance of CurrencyOptions.



36
37
38
# File 'lib/stripe/resources/coupon.rb', line 36

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

Instance Attribute Details

#amount_offObject

A positive integer representing the amount to subtract from an invoice total.



34
35
36
# File 'lib/stripe/resources/coupon.rb', line 34

def amount_off
  @amount_off
end