Class: Stripe::TokenCreateParams::Account::Individual::SelfReportedIncome

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from RequestParams

attr_accessor, new, #to_h

Constructor Details

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

Returns a new instance of SelfReportedIncome.



471
472
473
474
# File 'lib/stripe/params/token_create_params.rb', line 471

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



467
468
469
# File 'lib/stripe/params/token_create_params.rb', line 467

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



469
470
471
# File 'lib/stripe/params/token_create_params.rb', line 469

def currency
  @currency
end