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

attr_accessor, coerce_params, coerce_value, field_encodings, new, #to_h

Constructor Details

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

Returns a new instance of Dob.



1642
1643
1644
1645
1646
# File 'lib/stripe/params/account_update_params.rb', line 1642

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.



1636
1637
1638
# File 'lib/stripe/params/account_update_params.rb', line 1636

def day
  @day
end

#monthObject

The month of birth, between 1 and 12.



1638
1639
1640
# File 'lib/stripe/params/account_update_params.rb', line 1638

def month
  @month
end

#yearObject

The four-digit year of birth.



1640
1641
1642
# File 'lib/stripe/params/account_update_params.rb', line 1640

def year
  @year
end