Class: Stripe::AccountCreateParams::Individual::SelfReportedIncome

Inherits:
RequestParams
  • Object
show all
Defined in:
lib/stripe/params/account_create_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.



1880
1881
1882
1883
# File 'lib/stripe/params/account_create_params.rb', line 1880

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).



1876
1877
1878
# File 'lib/stripe/params/account_create_params.rb', line 1876

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).



1878
1879
1880
# File 'lib/stripe/params/account_create_params.rb', line 1878

def currency
  @currency
end