Class: Stripe::AccountUpdateParams::Individual::SelfReportedIncome
- Inherits:
-
RequestParams
- Object
- RequestParams
- Stripe::AccountUpdateParams::Individual::SelfReportedIncome
- Defined in:
- lib/stripe/params/account_update_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) ⇒ SelfReportedIncome
constructor
A new instance of SelfReportedIncome.
Methods inherited from RequestParams
attr_accessor, coerce_params, coerce_value, field_encodings, new, #to_h
Constructor Details
#initialize(amount: nil, currency: nil) ⇒ SelfReportedIncome
Returns a new instance of SelfReportedIncome.
2008 2009 2010 2011 |
# File 'lib/stripe/params/account_update_params.rb', line 2008 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).
2004 2005 2006 |
# File 'lib/stripe/params/account_update_params.rb', line 2004 def amount @amount end |
#currency ⇒ Object
Three-letter ISO currency code, in lowercase. Must be a supported currency.
2006 2007 2008 |
# File 'lib/stripe/params/account_update_params.rb', line 2006 def currency @currency end |