Class: Stripe::PaymentIntentCaptureParams::PaymentDetails::MoneyServices::AccountFunding::BeneficiaryDetails::DateOfBirth
- Inherits:
-
RequestParams
- Object
- RequestParams
- Stripe::PaymentIntentCaptureParams::PaymentDetails::MoneyServices::AccountFunding::BeneficiaryDetails::DateOfBirth
- Defined in:
- lib/stripe/params/payment_intent_capture_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.
1926 1927 1928 1929 1930 |
# File 'lib/stripe/params/payment_intent_capture_params.rb', line 1926 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.
1920 1921 1922 |
# File 'lib/stripe/params/payment_intent_capture_params.rb', line 1920 def day @day end |
#month ⇒ Object
Month of birth, between 1 and 12.
1922 1923 1924 |
# File 'lib/stripe/params/payment_intent_capture_params.rb', line 1922 def month @month end |
#year ⇒ Object
Four-digit year of birth.
1924 1925 1926 |
# File 'lib/stripe/params/payment_intent_capture_params.rb', line 1924 def year @year end |