Class: Stripe::V2::Core::AccountService::CreateParams::Identity::Individual::DateOfBirth

Inherits:
RequestParams
  • Object
show all
Defined in:
lib/stripe/services/v2/core/account_service.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.



1825
1826
1827
1828
1829
# File 'lib/stripe/services/v2/core/account_service.rb', line 1825

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

Instance Attribute Details

#dayObject

The day of birth.



1819
1820
1821
# File 'lib/stripe/services/v2/core/account_service.rb', line 1819

def day
  @day
end

#monthObject

The month of birth.



1821
1822
1823
# File 'lib/stripe/services/v2/core/account_service.rb', line 1821

def month
  @month
end

#yearObject

The year of birth.



1823
1824
1825
# File 'lib/stripe/services/v2/core/account_service.rb', line 1823

def year
  @year
end