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, coerce_params, coerce_value, field_encodings, new, #to_h

Constructor Details

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

Returns a new instance of IdNumber.



763
764
765
766
# File 'lib/stripe/params/v2/core/account_token_create_params.rb', line 763

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

Instance Attribute Details

#typeObject

The ID number type of an individual.



759
760
761
# File 'lib/stripe/params/v2/core/account_token_create_params.rb', line 759

def type
  @type
end

#valueObject

The value of the ID number.



761
762
763
# File 'lib/stripe/params/v2/core/account_token_create_params.rb', line 761

def value
  @value
end