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

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.



3107
3108
3109
3110
3111
# File 'lib/stripe/params/v2/core/account_create_params.rb', line 3107

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



3101
3102
3103
# File 'lib/stripe/params/v2/core/account_create_params.rb', line 3101

def registrar
  @registrar
end

#typeObject

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



3103
3104
3105
# File 'lib/stripe/params/v2/core/account_create_params.rb', line 3103

def type
  @type
end

#valueObject

The value of the ID number.



3105
3106
3107
# File 'lib/stripe/params/v2/core/account_create_params.rb', line 3105

def value
  @value
end