Class: Stripe::Billing::AlertCreateParams::SpendThreshold::Gte::Amount
- Inherits:
-
RequestParams
- Object
- RequestParams
- Stripe::Billing::AlertCreateParams::SpendThreshold::Gte::Amount
- 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) ⇒ Amount
constructor
A new instance of Amount.
Methods inherited from RequestParams
attr_accessor, coerce_params, coerce_value, field_encodings, new, #to_h
Constructor Details
#initialize(currency: nil, value: nil) ⇒ Amount
Returns a new instance of Amount.
168 169 170 171 |
# File 'lib/stripe/params/billing/alert_create_params.rb', line 168 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.
164 165 166 |
# File 'lib/stripe/params/billing/alert_create_params.rb', line 164 def currency @currency end |
#value ⇒ Object
An integer representing the amount of the threshold.
166 167 168 |
# File 'lib/stripe/params/billing/alert_create_params.rb', line 166 def value @value end |