Class: Stripe::V2::Core::AccountTokenCreateParams::Identity::BusinessDetails::Documents::CompanyRegistrationVerification

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(files: nil, type: nil) ⇒ CompanyRegistrationVerification

Returns a new instance of CompanyRegistrationVerification.



493
494
495
496
# File 'lib/stripe/params/v2/core/account_token_create_params.rb', line 493

def initialize(files: nil, type: nil)
  @files = files
  @type = type
end

Instance Attribute Details

#filesObject

One or more document IDs returned by a file upload with a purpose value of account_requirement.



489
490
491
# File 'lib/stripe/params/v2/core/account_token_create_params.rb', line 489

def files
  @files
end

#typeObject

The format of the document. Currently supports files only.



491
492
493
# File 'lib/stripe/params/v2/core/account_token_create_params.rb', line 491

def type
  @type
end