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.



3777
3778
3779
3780
3781
# File 'lib/stripe/services/v2/core/account_service.rb', line 3777

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



3771
3772
3773
# File 'lib/stripe/services/v2/core/account_service.rb', line 3771

def registrar
  @registrar
end

#typeObject

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



3773
3774
3775
# File 'lib/stripe/services/v2/core/account_service.rb', line 3773

def type
  @type
end

#valueObject

The value of the ID number.



3775
3776
3777
# File 'lib/stripe/services/v2/core/account_service.rb', line 3775

def value
  @value
end