Class: Stripe::AccountService::UpdateParams::Company::RegistrationDate

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) ⇒ RegistrationDate

Returns a new instance of RegistrationDate.



1352
1353
1354
1355
1356
# File 'lib/stripe/services/account_service.rb', line 1352

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.



1346
1347
1348
# File 'lib/stripe/services/account_service.rb', line 1346

def day
  @day
end

#monthObject

The month of registration, between 1 and 12.



1348
1349
1350
# File 'lib/stripe/services/account_service.rb', line 1348

def month
  @month
end

#yearObject

The four-digit year of registration.



1350
1351
1352
# File 'lib/stripe/services/account_service.rb', line 1350

def year
  @year
end