Class: Stripe::V2::Core::AccountUpdateParams::Identity::BusinessDetails::RegistrationDate

Inherits:
RequestParams
  • Object
show all
Defined in:
lib/stripe/params/v2/core/account_update_params.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from RequestParams

#to_h

Constructor Details

#initialize(day: nil, month: nil, year: nil) ⇒ RegistrationDate

Returns a new instance of RegistrationDate.



1747
1748
1749
1750
1751
# File 'lib/stripe/params/v2/core/account_update_params.rb', line 1747

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

Instance Attribute Details

#dayObject

The day of registration, between 1 and 31.



1741
1742
1743
# File 'lib/stripe/params/v2/core/account_update_params.rb', line 1741

def day
  @day
end

#monthObject

The month of registration, between 1 and 12.



1743
1744
1745
# File 'lib/stripe/params/v2/core/account_update_params.rb', line 1743

def month
  @month
end

#yearObject

The four-digit year of registration.



1745
1746
1747
# File 'lib/stripe/params/v2/core/account_update_params.rb', line 1745

def year
  @year
end