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.



1666
1667
1668
1669
1670
# File 'lib/stripe/params/v2/core/account_create_params.rb', line 1666

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



1660
1661
1662
# File 'lib/stripe/params/v2/core/account_create_params.rb', line 1660

def registrar
  @registrar
end

#typeObject

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



1662
1663
1664
# File 'lib/stripe/params/v2/core/account_create_params.rb', line 1662

def type
  @type
end

#valueObject

The value of the ID number.



1664
1665
1666
# File 'lib/stripe/params/v2/core/account_create_params.rb', line 1664

def value
  @value
end