Class: Stripe::TokenCreateParams::Person::SelfReportedMonthlyHousingPayment
- Inherits:
-
RequestParams
- Object
- RequestParams
- Stripe::TokenCreateParams::Person::SelfReportedMonthlyHousingPayment
- Defined in:
- lib/stripe/params/token_create_params.rb
Instance Attribute Summary collapse
-
#amount ⇒ Object
The amount in the minor currency unit (for example, cents for USD).
-
#currency ⇒ Object
Three-letter ISO currency code, in lowercase.
Instance Method Summary collapse
-
#initialize(amount: nil, currency: nil) ⇒ SelfReportedMonthlyHousingPayment
constructor
A new instance of SelfReportedMonthlyHousingPayment.
Methods inherited from RequestParams
attr_accessor, coerce_params, coerce_value, field_encodings, new, #to_h
Constructor Details
#initialize(amount: nil, currency: nil) ⇒ SelfReportedMonthlyHousingPayment
Returns a new instance of SelfReportedMonthlyHousingPayment.
1167 1168 1169 1170 |
# File 'lib/stripe/params/token_create_params.rb', line 1167 def initialize(amount: nil, currency: nil) @amount = amount @currency = currency end |
Instance Attribute Details
#amount ⇒ Object
The amount in the minor currency unit (for example, cents for USD).
1163 1164 1165 |
# File 'lib/stripe/params/token_create_params.rb', line 1163 def amount @amount end |
#currency ⇒ Object
Three-letter ISO currency code, in lowercase. Must be a supported currency.
1165 1166 1167 |
# File 'lib/stripe/params/token_create_params.rb', line 1165 def currency @currency end |