Class: Stripe::Account::UpdateParams::Individual::Dob

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



2347
2348
2349
2350
2351
# File 'lib/stripe/resources/account.rb', line 2347

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.



2341
2342
2343
# File 'lib/stripe/resources/account.rb', line 2341

def day
  @day
end

#monthObject

The month of birth, between 1 and 12.



2343
2344
2345
# File 'lib/stripe/resources/account.rb', line 2343

def month
  @month
end

#yearObject

The four-digit year of birth.



2345
2346
2347
# File 'lib/stripe/resources/account.rb', line 2345

def year
  @year
end