Class: Stripe::Billing::AlertCreateParams::CreditBalanceThreshold::Lte::Monetary
- Inherits:
-
RequestParams
- Object
- RequestParams
- Stripe::Billing::AlertCreateParams::CreditBalanceThreshold::Lte::Monetary
- Defined in:
- lib/stripe/params/billing/alert_create_params.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.
89 90 91 92 |
# File 'lib/stripe/params/billing/alert_create_params.rb', line 89 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.
85 86 87 |
# File 'lib/stripe/params/billing/alert_create_params.rb', line 85 def currency @currency end |
#value ⇒ Object
An integer representing the amount of the threshold.
87 88 89 |
# File 'lib/stripe/params/billing/alert_create_params.rb', line 87 def value @value end |