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

Inherits:
RequestParams
  • Object
show all
Defined in:
lib/stripe/params/v2/core/account_token_create_params.rb

Defined Under Namespace

Classes: Signer

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, signer: nil, type: nil) ⇒ ProofOfRegistration

Returns a new instance of ProofOfRegistration.



286
287
288
289
290
# File 'lib/stripe/params/v2/core/account_token_create_params.rb', line 286

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

Instance Attribute Details

#filesObject

One or more document IDs returned by a [file upload](docs.stripe.com/api/persons/update#create_file) with a purpose value of ‘account_requirement`.



280
281
282
# File 'lib/stripe/params/v2/core/account_token_create_params.rb', line 280

def files
  @files
end

#signerObject

Person that is signing the document.



282
283
284
# File 'lib/stripe/params/v2/core/account_token_create_params.rb', line 282

def signer
  @signer
end

#typeObject

The format of the document. Currently supports ‘files` only.



284
285
286
# File 'lib/stripe/params/v2/core/account_token_create_params.rb', line 284

def type
  @type
end