Class: Stripe::AccountCreateParams::Individual::SelfReportedIncome
- Inherits:
-
RequestParams
- Object
- RequestParams
- Stripe::AccountCreateParams::Individual::SelfReportedIncome
- Defined in:
- lib/stripe/params/account_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](www.iso.org/iso-4217-currency-codes.html), in lowercase.
Instance Method Summary collapse
-
#initialize(amount: nil, currency: nil) ⇒ SelfReportedIncome
constructor
A new instance of SelfReportedIncome.
Methods inherited from RequestParams
Constructor Details
#initialize(amount: nil, currency: nil) ⇒ SelfReportedIncome
Returns a new instance of SelfReportedIncome.
1902 1903 1904 1905 |
# File 'lib/stripe/params/account_create_params.rb', line 1902 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).
1898 1899 1900 |
# File 'lib/stripe/params/account_create_params.rb', line 1898 def amount @amount end |
#currency ⇒ Object
Three-letter [ISO currency code](www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](stripe.com/docs/currencies).
1900 1901 1902 |
# File 'lib/stripe/params/account_create_params.rb', line 1900 def currency @currency end |