Class: Stripe::V2::Core::Accounts::PersonTokenCreateParams::IdNumber

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from RequestParams

#to_h

Constructor Details

#initialize(type: nil, value: nil) ⇒ IdNumber

Returns a new instance of IdNumber.



247
248
249
250
# File 'lib/stripe/params/v2/core/accounts/person_token_create_params.rb', line 247

def initialize(type: nil, value: nil)
  @type = type
  @value = value
end

Instance Attribute Details

#typeObject

The ID number type of an individual.



243
244
245
# File 'lib/stripe/params/v2/core/accounts/person_token_create_params.rb', line 243

def type
  @type
end

#valueObject

The value of the ID number.



245
246
247
# File 'lib/stripe/params/v2/core/accounts/person_token_create_params.rb', line 245

def value
  @value
end