Class: Stripe::AccountPersonService::UpdateParams::Dob

Inherits:
RequestParams
  • Object
show all
Defined in:
lib/stripe/services/account_person_service.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from RequestParams

#to_h

Constructor Details

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

Returns a new instance of Dob.



151
152
153
154
155
# File 'lib/stripe/services/account_person_service.rb', line 151

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

Instance Attribute Details

#dayObject

The day of birth, between 1 and 31.



145
146
147
# File 'lib/stripe/services/account_person_service.rb', line 145

def day
  @day
end

#monthObject

The month of birth, between 1 and 12.



147
148
149
# File 'lib/stripe/services/account_person_service.rb', line 147

def month
  @month
end

#yearObject

The four-digit year of birth.



149
150
151
# File 'lib/stripe/services/account_person_service.rb', line 149

def year
  @year
end