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

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from RequestParams

attr_accessor, coerce_params, coerce_value, field_encodings, new, #to_h

Constructor Details

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

Returns a new instance of RegistrationDate.



3128
3129
3130
3131
3132
# File 'lib/stripe/params/v2/core/account_create_params.rb', line 3128

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.



3122
3123
3124
# File 'lib/stripe/params/v2/core/account_create_params.rb', line 3122

def day
  @day
end

#monthObject

The month of registration, between 1 and 12.



3124
3125
3126
# File 'lib/stripe/params/v2/core/account_create_params.rb', line 3124

def month
  @month
end

#yearObject

The four-digit year of registration.



3126
3127
3128
# File 'lib/stripe/params/v2/core/account_create_params.rb', line 3126

def year
  @year
end