Class: Stripe::V2::Core::AccountService::UpdateParams::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.



3699
3700
3701
3702
3703
# File 'lib/stripe/services/v2/core/account_service.rb', line 3699

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

Instance Attribute Details

#dayObject

The day of the birth.



3693
3694
3695
# File 'lib/stripe/services/v2/core/account_service.rb', line 3693

def day
  @day
end

#monthObject

The month of birth.



3695
3696
3697
# File 'lib/stripe/services/v2/core/account_service.rb', line 3695

def month
  @month
end

#yearObject

The year of birth.



3697
3698
3699
# File 'lib/stripe/services/v2/core/account_service.rb', line 3697

def year
  @year
end