Class: Stripe::AccountCreateParams::Individual::SelfReportedMonthlyHousingPayment

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) ⇒ SelfReportedMonthlyHousingPayment

Returns a new instance of SelfReportedMonthlyHousingPayment.



2077
2078
2079
2080
# File 'lib/stripe/params/account_create_params.rb', line 2077

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



2073
2074
2075
# File 'lib/stripe/params/account_create_params.rb', line 2073

def amount
  @amount
end

#currencyObject

Three-letter ISO currency code, in lowercase. Must be a supported currency.



2075
2076
2077
# File 'lib/stripe/params/account_create_params.rb', line 2075

def currency
  @currency
end