Class: Stripe::TokenCreateParams::Person::SelfReportedMonthlyHousingPayment

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, coerce_params, coerce_value, field_encodings, new, #to_h

Constructor Details

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

Returns a new instance of SelfReportedMonthlyHousingPayment.



1095
1096
1097
1098
# File 'lib/stripe/params/token_create_params.rb', line 1095

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



1091
1092
1093
# File 'lib/stripe/params/token_create_params.rb', line 1091

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



1093
1094
1095
# File 'lib/stripe/params/token_create_params.rb', line 1093

def currency
  @currency
end