Class: Stripe::V2::Core::Accounts::PersonCreateParams::Documents::CompanyAuthorization

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from RequestParams

#to_h

Constructor Details

#initialize(files: nil, type: nil) ⇒ CompanyAuthorization

Returns a new instance of CompanyAuthorization.



146
147
148
149
# File 'lib/stripe/params/v2/core/accounts/person_create_params.rb', line 146

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](docs.stripe.com/api/persons/update#create_file) with a purpose value of ‘account_requirement`.



142
143
144
# File 'lib/stripe/params/v2/core/accounts/person_create_params.rb', line 142

def files
  @files
end

#typeObject

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



144
145
146
# File 'lib/stripe/params/v2/core/accounts/person_create_params.rb', line 144

def type
  @type
end