Class: Stripe::V2::Core::AccountCreateParams::Identity::BusinessDetails::IdNumber
- Inherits:
-
RequestParams
- Object
- RequestParams
- Stripe::V2::Core::AccountCreateParams::Identity::BusinessDetails::IdNumber
- Defined in:
- lib/stripe/params/v2/core/account_create_params.rb
Instance Attribute Summary collapse
-
#registrar ⇒ Object
The registrar of the ID number (Only valid for DE ID number types).
-
#type ⇒ Object
Open Enum.
-
#value ⇒ Object
The value of the ID number.
Instance Method Summary collapse
-
#initialize(registrar: nil, type: nil, value: nil) ⇒ IdNumber
constructor
A new instance of IdNumber.
Methods inherited from RequestParams
attr_accessor, coerce_params, coerce_value, field_encodings, new, #to_h
Constructor Details
#initialize(registrar: nil, type: nil, value: nil) ⇒ IdNumber
Returns a new instance of IdNumber.
1408 1409 1410 1411 1412 |
# File 'lib/stripe/params/v2/core/account_create_params.rb', line 1408 def initialize(registrar: nil, type: nil, value: nil) @registrar = registrar @type = type @value = value end |
Instance Attribute Details
#registrar ⇒ Object
The registrar of the ID number (Only valid for DE ID number types).
1402 1403 1404 |
# File 'lib/stripe/params/v2/core/account_create_params.rb', line 1402 def registrar @registrar end |
#type ⇒ Object
Open Enum. The ID number type of a business entity.
1404 1405 1406 |
# File 'lib/stripe/params/v2/core/account_create_params.rb', line 1404 def type @type end |
#value ⇒ Object
The value of the ID number.
1406 1407 1408 |
# File 'lib/stripe/params/v2/core/account_create_params.rb', line 1406 def value @value end |