Class: Stripe::V2::Core::AccountCreateParams::Identity::Individual::Documents::Passport

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) ⇒ Passport

Returns a new instance of Passport.



1732
1733
1734
1735
# File 'lib/stripe/params/v2/core/account_create_params.rb', line 1732

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



1728
1729
1730
# File 'lib/stripe/params/v2/core/account_create_params.rb', line 1728

def files
  @files
end

#typeObject

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



1730
1731
1732
# File 'lib/stripe/params/v2/core/account_create_params.rb', line 1730

def type
  @type
end