Class: Stripe::V2::Core::Accounts::PersonService::UpdateParams::DateOfBirth

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



628
629
630
631
632
# File 'lib/stripe/services/v2/core/accounts/person_service.rb', line 628

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

Instance Attribute Details

#dayObject

The day of the birth.



622
623
624
# File 'lib/stripe/services/v2/core/accounts/person_service.rb', line 622

def day
  @day
end

#monthObject

The month of birth.



624
625
626
# File 'lib/stripe/services/v2/core/accounts/person_service.rb', line 624

def month
  @month
end

#yearObject

The year of birth.



626
627
628
# File 'lib/stripe/services/v2/core/accounts/person_service.rb', line 626

def year
  @year
end