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.



518
519
520
521
522
# File 'lib/stripe/params/v2/core/account_token_create_params.rb', line 518

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



512
513
514
# File 'lib/stripe/params/v2/core/account_token_create_params.rb', line 512

def files
  @files
end

#signerObject

Person that is signing the document.



514
515
516
# File 'lib/stripe/params/v2/core/account_token_create_params.rb', line 514

def signer
  @signer
end

#typeObject

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



516
517
518
# File 'lib/stripe/params/v2/core/account_token_create_params.rb', line 516

def type
  @type
end