Class: Stripe::PaymentIntentUpdateParams::PaymentDetails::MoneyServices::AccountFunding::SenderDetails::DateOfBirth

Inherits:
RequestParams
  • Object
show all
Defined in:
lib/stripe/params/payment_intent_update_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.



2041
2042
2043
2044
2045
# File 'lib/stripe/params/payment_intent_update_params.rb', line 2041

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.



2035
2036
2037
# File 'lib/stripe/params/payment_intent_update_params.rb', line 2035

def day
  @day
end

#monthObject

Month of birth, between 1 and 12.



2037
2038
2039
# File 'lib/stripe/params/payment_intent_update_params.rb', line 2037

def month
  @month
end

#yearObject

Four-digit year of birth.



2039
2040
2041
# File 'lib/stripe/params/payment_intent_update_params.rb', line 2039

def year
  @year
end