Class: Stripe::V2::Core::AccountTokenCreateParams::Identity::Individual::IdNumber

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from RequestParams

attr_accessor, new, #to_h

Constructor Details

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

Returns a new instance of IdNumber.



773
774
775
776
# File 'lib/stripe/params/v2/core/account_token_create_params.rb', line 773

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

Instance Attribute Details

#typeObject

The ID number type of an individual.



769
770
771
# File 'lib/stripe/params/v2/core/account_token_create_params.rb', line 769

def type
  @type
end

#valueObject

The value of the ID number.



771
772
773
# File 'lib/stripe/params/v2/core/account_token_create_params.rb', line 771

def value
  @value
end