Class: Stripe::AccountUpdateParams::Individual::SelfReportedIncome

Inherits:
RequestParams
  • Object
show all
Defined in:
lib/stripe/params/account_update_params.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from RequestParams

#to_h

Constructor Details

#initialize(amount: nil, currency: nil) ⇒ SelfReportedIncome

Returns a new instance of SelfReportedIncome.



1799
1800
1801
1802
# File 'lib/stripe/params/account_update_params.rb', line 1799

def initialize(amount: nil, currency: nil)
  @amount = amount
  @currency = currency
end

Instance Attribute Details

#amountObject

The amount in the minor currency unit (for example, cents for USD).



1795
1796
1797
# File 'lib/stripe/params/account_update_params.rb', line 1795

def amount
  @amount
end

#currencyObject

Three-letter [ISO currency code](www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](stripe.com/docs/currencies).



1797
1798
1799
# File 'lib/stripe/params/account_update_params.rb', line 1797

def currency
  @currency
end