Class: Stripe::AccountUpdateParams::Individual::Dob

Inherits:
RequestParams
  • Object
show all
Defined in:
lib/stripe/params/account_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) ⇒ Dob

Returns a new instance of Dob.



1542
1543
1544
1545
1546
# File 'lib/stripe/params/account_update_params.rb', line 1542

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.



1536
1537
1538
# File 'lib/stripe/params/account_update_params.rb', line 1536

def day
  @day
end

#monthObject

The month of birth, between 1 and 12.



1538
1539
1540
# File 'lib/stripe/params/account_update_params.rb', line 1538

def month
  @month
end

#yearObject

The four-digit year of birth.



1540
1541
1542
# File 'lib/stripe/params/account_update_params.rb', line 1540

def year
  @year
end