Class: Stripe::PaymentIntentUpdateParams::PaymentDetails::MoneyServices::AccountFunding::SenderDetails::DateOfBirth
- Inherits:
-
RequestParams
- Object
- RequestParams
- Stripe::PaymentIntentUpdateParams::PaymentDetails::MoneyServices::AccountFunding::SenderDetails::DateOfBirth
- Defined in:
- lib/stripe/params/payment_intent_update_params.rb
Instance Attribute Summary collapse
-
#day ⇒ Object
Day of birth, between 1 and 31.
-
#month ⇒ Object
Month of birth, between 1 and 12.
-
#year ⇒ Object
Four-digit year of birth.
Instance Method Summary collapse
-
#initialize(day: nil, month: nil, year: nil) ⇒ DateOfBirth
constructor
A new instance of DateOfBirth.
Methods inherited from RequestParams
attr_accessor, coerce_params, coerce_value, field_encodings, new, #to_h
Constructor Details
#initialize(day: nil, month: nil, year: nil) ⇒ DateOfBirth
Returns a new instance of DateOfBirth.
2052 2053 2054 2055 2056 |
# File 'lib/stripe/params/payment_intent_update_params.rb', line 2052 def initialize(day: nil, month: nil, year: nil) @day = day @month = month @year = year end |
Instance Attribute Details
#day ⇒ Object
Day of birth, between 1 and 31.
2046 2047 2048 |
# File 'lib/stripe/params/payment_intent_update_params.rb', line 2046 def day @day end |
#month ⇒ Object
Month of birth, between 1 and 12.
2048 2049 2050 |
# File 'lib/stripe/params/payment_intent_update_params.rb', line 2048 def month @month end |
#year ⇒ Object
Four-digit year of birth.
2050 2051 2052 |
# File 'lib/stripe/params/payment_intent_update_params.rb', line 2050 def year @year end |