Class: Stripe::ChargeUpdateParams::PaymentDetails::MoneyServices::AccountFunding::BeneficiaryDetails::DateOfBirth
- Inherits:
-
RequestParams
- Object
- RequestParams
- Stripe::ChargeUpdateParams::PaymentDetails::MoneyServices::AccountFunding::BeneficiaryDetails::DateOfBirth
- Defined in:
- lib/stripe/params/charge_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.
1692 1693 1694 1695 1696 |
# File 'lib/stripe/params/charge_update_params.rb', line 1692 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.
1686 1687 1688 |
# File 'lib/stripe/params/charge_update_params.rb', line 1686 def day @day end |
#month ⇒ Object
Month of birth, between 1 and 12.
1688 1689 1690 |
# File 'lib/stripe/params/charge_update_params.rb', line 1688 def month @month end |
#year ⇒ Object
Four-digit year of birth.
1690 1691 1692 |
# File 'lib/stripe/params/charge_update_params.rb', line 1690 def year @year end |