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.



1552
1553
1554
1555
1556
# File 'lib/stripe/params/v2/core/account_create_params.rb', line 1552

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



1546
1547
1548
# File 'lib/stripe/params/v2/core/account_create_params.rb', line 1546

def registrar
  @registrar
end

#typeObject

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



1548
1549
1550
# File 'lib/stripe/params/v2/core/account_create_params.rb', line 1548

def type
  @type
end

#valueObject

The value of the ID number.



1550
1551
1552
# File 'lib/stripe/params/v2/core/account_create_params.rb', line 1550

def value
  @value
end