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.



4051
4052
4053
4054
4055
# File 'lib/stripe/services/v2/core/account_service.rb', line 4051

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

Instance Attribute Details

#dayObject

The day of the birth.



4045
4046
4047
# File 'lib/stripe/services/v2/core/account_service.rb', line 4045

def day
  @day
end

#monthObject

The month of birth.



4047
4048
4049
# File 'lib/stripe/services/v2/core/account_service.rb', line 4047

def month
  @month
end

#yearObject

The year of birth.



4049
4050
4051
# File 'lib/stripe/services/v2/core/account_service.rb', line 4049

def year
  @year
end