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

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



1624
1625
1626
1627
1628
# File 'lib/stripe/params/v2/core/account_create_params.rb', line 1624

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



1618
1619
1620
# File 'lib/stripe/params/v2/core/account_create_params.rb', line 1618

def files
  @files
end

#signerObject

Person that is signing the document.



1620
1621
1622
# File 'lib/stripe/params/v2/core/account_create_params.rb', line 1620

def signer
  @signer
end

#typeObject

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



1622
1623
1624
# File 'lib/stripe/params/v2/core/account_create_params.rb', line 1622

def type
  @type
end