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

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from RequestParams

#to_h

Constructor Details

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

Returns a new instance of ProofOfAddress.



1336
1337
1338
1339
# File 'lib/stripe/params/v2/core/account_create_params.rb', line 1336

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



1332
1333
1334
# File 'lib/stripe/params/v2/core/account_create_params.rb', line 1332

def files
  @files
end

#typeObject

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



1334
1335
1336
# File 'lib/stripe/params/v2/core/account_create_params.rb', line 1334

def type
  @type
end