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.



4065
4066
4067
4068
4069
# File 'lib/stripe/services/v2/core/account_service.rb', line 4065

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

Instance Attribute Details

#dayObject

The day of the birth.



4059
4060
4061
# File 'lib/stripe/services/v2/core/account_service.rb', line 4059

def day
  @day
end

#monthObject

The month of birth.



4061
4062
4063
# File 'lib/stripe/services/v2/core/account_service.rb', line 4061

def month
  @month
end

#yearObject

The year of birth.



4063
4064
4065
# File 'lib/stripe/services/v2/core/account_service.rb', line 4063

def year
  @year
end