Class: Stripe::V2::Core::AccountUpdateParams::Identity::Individual::DateOfBirth

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

Returns a new instance of DateOfBirth.



1759
1760
1761
1762
1763
# File 'lib/stripe/params/v2/core/account_update_params.rb', line 1759

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

Instance Attribute Details

#dayObject

The day of the birth.



1753
1754
1755
# File 'lib/stripe/params/v2/core/account_update_params.rb', line 1753

def day
  @day
end

#monthObject

The month of birth.



1755
1756
1757
# File 'lib/stripe/params/v2/core/account_update_params.rb', line 1755

def month
  @month
end

#yearObject

The year of birth.



1757
1758
1759
# File 'lib/stripe/params/v2/core/account_update_params.rb', line 1757

def year
  @year
end