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

attr_accessor, new, #to_h

Constructor Details

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

Returns a new instance of IdNumber.



2419
2420
2421
2422
2423
# File 'lib/stripe/params/v2/core/account_create_params.rb', line 2419

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).



2413
2414
2415
# File 'lib/stripe/params/v2/core/account_create_params.rb', line 2413

def registrar
  @registrar
end

#typeObject

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



2415
2416
2417
# File 'lib/stripe/params/v2/core/account_create_params.rb', line 2415

def type
  @type
end

#valueObject

The value of the ID number.



2417
2418
2419
# File 'lib/stripe/params/v2/core/account_create_params.rb', line 2417

def value
  @value
end