Class: Stripe::V2::Core::AccountService::UpdateParams::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.



3411
3412
3413
3414
3415
# File 'lib/stripe/services/v2/core/account_service.rb', line 3411

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



3405
3406
3407
# File 'lib/stripe/services/v2/core/account_service.rb', line 3405

def registrar
  @registrar
end

#typeObject

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



3407
3408
3409
# File 'lib/stripe/services/v2/core/account_service.rb', line 3407

def type
  @type
end

#valueObject

The value of the ID number.



3409
3410
3411
# File 'lib/stripe/services/v2/core/account_service.rb', line 3409

def value
  @value
end