Class: Stripe::V2::Core::AccountCreateParams::Identity::BusinessDetails::IdNumber

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from RequestParams

#to_h

Constructor Details

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

Returns a new instance of IdNumber.



1419
1420
1421
1422
1423
# File 'lib/stripe/params/v2/core/account_create_params.rb', line 1419

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

Instance Attribute Details

#registrarObject

The registrar of the ID number (Only valid for DE ID number types).



1413
1414
1415
# File 'lib/stripe/params/v2/core/account_create_params.rb', line 1413

def registrar
  @registrar
end

#typeObject

Open Enum. The ID number type of a business entity.



1415
1416
1417
# File 'lib/stripe/params/v2/core/account_create_params.rb', line 1415

def type
  @type
end

#valueObject

The value of the ID number.



1417
1418
1419
# File 'lib/stripe/params/v2/core/account_create_params.rb', line 1417

def value
  @value
end