Class: Stripe::V2::Core::AccountTokenCreateParams::Identity::BusinessDetails::IdNumber

Inherits:
RequestParams
  • Object
show all
Defined in:
lib/stripe/params/v2/core/account_token_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.



347
348
349
350
351
# File 'lib/stripe/params/v2/core/account_token_create_params.rb', line 347

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



341
342
343
# File 'lib/stripe/params/v2/core/account_token_create_params.rb', line 341

def registrar
  @registrar
end

#typeObject

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



343
344
345
# File 'lib/stripe/params/v2/core/account_token_create_params.rb', line 343

def type
  @type
end

#valueObject

The value of the ID number.



345
346
347
# File 'lib/stripe/params/v2/core/account_token_create_params.rb', line 345

def value
  @value
end