Class: Stripe::V2::Core::Accounts::PersonCreateParams::IdNumber

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



253
254
255
256
# File 'lib/stripe/params/v2/core/accounts/person_create_params.rb', line 253

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

Instance Attribute Details

#typeObject

The ID number type of an individual.



249
250
251
# File 'lib/stripe/params/v2/core/accounts/person_create_params.rb', line 249

def type
  @type
end

#valueObject

The value of the ID number.



251
252
253
# File 'lib/stripe/params/v2/core/accounts/person_create_params.rb', line 251

def value
  @value
end