Class: Stripe::V2::Core::Accounts::PersonTokenCreateParams::Documents

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

Defined Under Namespace

Classes: CompanyAuthorization, Passport, PrimaryVerification, SecondaryVerification, Visa

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from RequestParams

#to_h

Constructor Details

#initialize(company_authorization: nil, passport: nil, primary_verification: nil, secondary_verification: nil, visa: nil) ⇒ Documents

Returns a new instance of Documents.



226
227
228
229
230
231
232
233
234
235
236
237
238
# File 'lib/stripe/params/v2/core/accounts/person_token_create_params.rb', line 226

def initialize(
  company_authorization: nil,
  passport: nil,
  primary_verification: nil,
  secondary_verification: nil,
  visa: nil
)
  @company_authorization = company_authorization
  @passport = passport
  @primary_verification = primary_verification
  @secondary_verification = secondary_verification
  @visa = visa
end

Instance Attribute Details

#company_authorizationObject

One or more documents that demonstrate proof that this person is authorized to represent the company.



216
217
218
# File 'lib/stripe/params/v2/core/accounts/person_token_create_params.rb', line 216

def company_authorization
  @company_authorization
end

#passportObject

One or more documents showing the person’s passport page with photo and personal data.



218
219
220
# File 'lib/stripe/params/v2/core/accounts/person_token_create_params.rb', line 218

def passport
  @passport
end

#primary_verificationObject

An identifying document showing the person’s name, either a passport or local ID card.



220
221
222
# File 'lib/stripe/params/v2/core/accounts/person_token_create_params.rb', line 220

def primary_verification
  @primary_verification
end

#secondary_verificationObject

A document showing address, either a passport, local ID card, or utility bill from a well-known utility company.



222
223
224
# File 'lib/stripe/params/v2/core/accounts/person_token_create_params.rb', line 222

def secondary_verification
  @secondary_verification
end

#visaObject

One or more documents showing the person’s visa required for living in the country where they are residing.



224
225
226
# File 'lib/stripe/params/v2/core/accounts/person_token_create_params.rb', line 224

def visa
  @visa
end