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

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



2071
2072
2073
2074
2075
# File 'lib/stripe/params/payment_intent_create_params.rb', line 2071

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.



2065
2066
2067
# File 'lib/stripe/params/payment_intent_create_params.rb', line 2065

def day
  @day
end

#monthObject

Month of birth, between 1 and 12.



2067
2068
2069
# File 'lib/stripe/params/payment_intent_create_params.rb', line 2067

def month
  @month
end

#yearObject

Four-digit year of birth.



2069
2070
2071
# File 'lib/stripe/params/payment_intent_create_params.rb', line 2069

def year
  @year
end