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

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.



1915
1916
1917
1918
# File 'lib/stripe/params/account_create_params.rb', line 1915

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



1911
1912
1913
# File 'lib/stripe/params/account_create_params.rb', line 1911

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



1913
1914
1915
# File 'lib/stripe/params/account_create_params.rb', line 1913

def currency
  @currency
end