Class: Stripe::Billing::Alert::CreateParams::CreditBalanceThreshold::Lte::Monetary
- Inherits:
-
RequestParams
- Object
- RequestParams
- Stripe::Billing::Alert::CreateParams::CreditBalanceThreshold::Lte::Monetary
- Defined in:
- lib/stripe/resources/billing/alert.rb
Instance Attribute Summary collapse
-
#currency ⇒ Object
Three-letter [ISO code for the currency](stripe.com/docs/currencies) of the ‘value` parameter.
-
#value ⇒ Object
An integer representing the amount of the threshold.
Instance Method Summary collapse
-
#initialize(currency: nil, value: nil) ⇒ Monetary
constructor
A new instance of Monetary.
Methods inherited from RequestParams
Constructor Details
#initialize(currency: nil, value: nil) ⇒ Monetary
Returns a new instance of Monetary.
152 153 154 155 |
# File 'lib/stripe/resources/billing/alert.rb', line 152 def initialize(currency: nil, value: nil) @currency = currency @value = value end |
Instance Attribute Details
#currency ⇒ Object
Three-letter [ISO code for the currency](stripe.com/docs/currencies) of the ‘value` parameter.
148 149 150 |
# File 'lib/stripe/resources/billing/alert.rb', line 148 def currency @currency end |
#value ⇒ Object
An integer representing the amount of the threshold.
150 151 152 |
# File 'lib/stripe/resources/billing/alert.rb', line 150 def value @value end |