Class: Stripe::PaymentIntentConfirmParams::PaymentDetails::MoneyServices::AccountFunding::BeneficiaryDetails::DateOfBirth

Inherits:
RequestParams
  • Object
show all
Defined in:
lib/stripe/params/payment_intent_confirm_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(day: nil, month: nil, year: nil) ⇒ DateOfBirth

Returns a new instance of DateOfBirth.



1994
1995
1996
1997
1998
# File 'lib/stripe/params/payment_intent_confirm_params.rb', line 1994

def initialize(day: nil, month: nil, year: nil)
  @day = day
  @month = month
  @year = year
end

Instance Attribute Details

#dayObject

Day of birth, between 1 and 31.



1988
1989
1990
# File 'lib/stripe/params/payment_intent_confirm_params.rb', line 1988

def day
  @day
end

#monthObject

Month of birth, between 1 and 12.



1990
1991
1992
# File 'lib/stripe/params/payment_intent_confirm_params.rb', line 1990

def month
  @month
end

#yearObject

Four-digit year of birth.



1992
1993
1994
# File 'lib/stripe/params/payment_intent_confirm_params.rb', line 1992

def year
  @year
end