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

#to_h

Constructor Details

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

Returns a new instance of IdNumber.



754
755
756
757
# File 'lib/stripe/params/v2/core/account_token_create_params.rb', line 754

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

Instance Attribute Details

#typeObject

The ID number type of an individual.



750
751
752
# File 'lib/stripe/params/v2/core/account_token_create_params.rb', line 750

def type
  @type
end

#valueObject

The value of the ID number.



752
753
754
# File 'lib/stripe/params/v2/core/account_token_create_params.rb', line 752

def value
  @value
end