Class: Stripe::AccountService::UpdateParams::Individual::Dob

Inherits:
RequestParams
  • Object
show all
Defined in:
lib/stripe/services/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) ⇒ Dob

Returns a new instance of Dob.



1532
1533
1534
1535
1536
# File 'lib/stripe/services/account_service.rb', line 1532

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

Instance Attribute Details

#dayObject

The day of birth, between 1 and 31.



1526
1527
1528
# File 'lib/stripe/services/account_service.rb', line 1526

def day
  @day
end

#monthObject

The month of birth, between 1 and 12.



1528
1529
1530
# File 'lib/stripe/services/account_service.rb', line 1528

def month
  @month
end

#yearObject

The four-digit year of birth.



1530
1531
1532
# File 'lib/stripe/services/account_service.rb', line 1530

def year
  @year
end