Class: Stripe::V2::Core::AccountService::CreateParams::Identity::BusinessDetails::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(registrar: nil, type: nil, value: nil) ⇒ IdNumber

Returns a new instance of IdNumber.



1361
1362
1363
1364
1365
# File 'lib/stripe/services/v2/core/account_service.rb', line 1361

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



1355
1356
1357
# File 'lib/stripe/services/v2/core/account_service.rb', line 1355

def registrar
  @registrar
end

#typeObject

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



1357
1358
1359
# File 'lib/stripe/services/v2/core/account_service.rb', line 1357

def type
  @type
end

#valueObject

The value of the ID number.



1359
1360
1361
# File 'lib/stripe/services/v2/core/account_service.rb', line 1359

def value
  @value
end