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.



2803
2804
2805
2806
2807
# File 'lib/stripe/resources/account.rb', line 2803

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.



2797
2798
2799
# File 'lib/stripe/resources/account.rb', line 2797

def day
  @day
end

#monthObject

The month of birth, between 1 and 12.



2799
2800
2801
# File 'lib/stripe/resources/account.rb', line 2799

def month
  @month
end

#yearObject

The four-digit year of birth.



2801
2802
2803
# File 'lib/stripe/resources/account.rb', line 2801

def year
  @year
end