Class: Stripe::Account::UpdateParams::Company::RegistrationDate

Inherits:
RequestParams
  • Object
show all
Defined in:
lib/stripe/resources/account.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.



2441
2442
2443
2444
2445
# File 'lib/stripe/resources/account.rb', line 2441

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.



2435
2436
2437
# File 'lib/stripe/resources/account.rb', line 2435

def day
  @day
end

#monthObject

The month of registration, between 1 and 12.



2437
2438
2439
# File 'lib/stripe/resources/account.rb', line 2437

def month
  @month
end

#yearObject

The four-digit year of registration.



2439
2440
2441
# File 'lib/stripe/resources/account.rb', line 2439

def year
  @year
end