Class: Stripe::V2::Core::Accounts::PersonUpdateParams::DateOfBirth

Inherits:
RequestParams
  • Object
show all
Defined in:
lib/stripe/params/v2/core/accounts/person_update_params.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from RequestParams

#to_h

Constructor Details

#initialize(day: nil, month: nil, year: nil) ⇒ DateOfBirth

Returns a new instance of DateOfBirth.



132
133
134
135
136
# File 'lib/stripe/params/v2/core/accounts/person_update_params.rb', line 132

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

Instance Attribute Details

#dayObject

The day of the birth.



126
127
128
# File 'lib/stripe/params/v2/core/accounts/person_update_params.rb', line 126

def day
  @day
end

#monthObject

The month of birth.



128
129
130
# File 'lib/stripe/params/v2/core/accounts/person_update_params.rb', line 128

def month
  @month
end

#yearObject

The year of birth.



130
131
132
# File 'lib/stripe/params/v2/core/accounts/person_update_params.rb', line 130

def year
  @year
end