Class: Stripe::V2::Core::AccountService::CreateParams::Identity::Individual::IdNumber

Inherits:
RequestParams
  • Object
show all
Defined in:
lib/stripe/services/v2/core/account_service.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.



1946
1947
1948
1949
# File 'lib/stripe/services/v2/core/account_service.rb', line 1946

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

Instance Attribute Details

#typeObject

The ID number type of an individual.



1942
1943
1944
# File 'lib/stripe/services/v2/core/account_service.rb', line 1942

def type
  @type
end

#valueObject

The value of the ID number.



1944
1945
1946
# File 'lib/stripe/services/v2/core/account_service.rb', line 1944

def value
  @value
end