Class: Stripe::V2::Core::AccountPerson::Documents

Inherits:
StripeObject
  • Object
show all
Defined in:
lib/stripe/resources/v2/core/account_person.rb

Defined Under Namespace

Classes: CompanyAuthorization, Passport, PrimaryVerification, SecondaryVerification, Visa

Constant Summary

Constants inherited from StripeObject

StripeObject::RESERVED_FIELD_NAMES

Instance Attribute Summary collapse

Attributes inherited from StripeObject

#last_response

Class Method Summary collapse

Methods inherited from StripeObject

#==, #[], #[]=, #_get_inner_class_type, additive_object_param, additive_object_param?, #as_json, construct_from, #deleted?, #dirty!, #each, #eql?, #hash, #initialize, #inspect, #keys, #marshal_dump, #marshal_load, protected_fields, #serialize_params, #to_hash, #to_json, #to_s, #update_attributes, #values

Constructor Details

This class inherits a constructor from Stripe::StripeObject

Dynamic Method Handling

This class handles dynamic methods through the method_missing method in the class Stripe::StripeObject

Instance Attribute Details

#company_authorizationObject (readonly)

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



235
236
237
# File 'lib/stripe/resources/v2/core/account_person.rb', line 235

def company_authorization
  @company_authorization
end

#passportObject (readonly)

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



237
238
239
# File 'lib/stripe/resources/v2/core/account_person.rb', line 237

def passport
  @passport
end

#primary_verificationObject (readonly)

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



239
240
241
# File 'lib/stripe/resources/v2/core/account_person.rb', line 239

def primary_verification
  @primary_verification
end

#secondary_verificationObject (readonly)

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



241
242
243
# File 'lib/stripe/resources/v2/core/account_person.rb', line 241

def secondary_verification
  @secondary_verification
end

#visaObject (readonly)

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



243
244
245
# File 'lib/stripe/resources/v2/core/account_person.rb', line 243

def visa
  @visa
end

Class Method Details

.field_remappingsObject



255
256
257
# File 'lib/stripe/resources/v2/core/account_person.rb', line 255

def self.field_remappings
  @field_remappings = {}
end

.inner_class_typesObject



245
246
247
248
249
250
251
252
253
# File 'lib/stripe/resources/v2/core/account_person.rb', line 245

def self.inner_class_types
  @inner_class_types = {
    company_authorization: CompanyAuthorization,
    passport: Passport,
    primary_verification: PrimaryVerification,
    secondary_verification: SecondaryVerification,
    visa: Visa,
  }
end