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
attr_accessor, coerce_params, coerce_value, field_encodings, new, #to_h
Constructor Details
#initialize(currency: nil, value: nil) ⇒ Monetary
Returns a new instance of Monetary.
93 94 95 96 |
# File 'lib/stripe/params/billing/alert_create_params.rb', line 93 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.
89 90 91 |
# File 'lib/stripe/params/billing/alert_create_params.rb', line 89 def currency @currency end |
#value ⇒ Object
An integer representing the amount of the threshold.
91 92 93 |
# File 'lib/stripe/params/billing/alert_create_params.rb', line 91 def value @value end |