Class: Stripe::Person::Verification::Document
- Inherits:
-
StripeObject
- Object
- StripeObject
- Stripe::Person::Verification::Document
- Defined in:
- lib/stripe/resources/person.rb
Constant Summary
Constants inherited from StripeObject
StripeObject::RESERVED_FIELD_NAMES
Instance Attribute Summary collapse
-
#back ⇒ Object
readonly
The back of an ID returned by a [file upload](stripe.com/docs/api#create_file) with a ‘purpose` value of `identity_document`.
-
#details ⇒ Object
readonly
A user-displayable string describing the verification state of this document.
-
#details_code ⇒ Object
readonly
One of ‘document_corrupt`, `document_country_not_supported`, `document_expired`, `document_failed_copy`, `document_failed_other`, `document_failed_test_mode`, `document_fraudulent`, `document_failed_greyscale`, `document_incomplete`, `document_invalid`, `document_manipulated`, `document_missing_back`, `document_missing_front`, `document_not_readable`, `document_not_uploaded`, `document_photo_mismatch`, `document_too_large`, or `document_type_not_supported`.
-
#front ⇒ Object
readonly
The front of an ID returned by a [file upload](stripe.com/docs/api#create_file) with a ‘purpose` value of `identity_document`.
Attributes inherited from StripeObject
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
#back ⇒ Object (readonly)
The back of an ID returned by a [file upload](stripe.com/docs/api#create_file) with a ‘purpose` value of `identity_document`.
363 364 365 |
# File 'lib/stripe/resources/person.rb', line 363 def back @back end |
#details ⇒ Object (readonly)
A user-displayable string describing the verification state of this document. For example, if a document is uploaded and the picture is too fuzzy, this may say “Identity document is too unclear to read”.
365 366 367 |
# File 'lib/stripe/resources/person.rb', line 365 def details @details end |
#details_code ⇒ Object (readonly)
One of ‘document_corrupt`, `document_country_not_supported`, `document_expired`, `document_failed_copy`, `document_failed_other`, `document_failed_test_mode`, `document_fraudulent`, `document_failed_greyscale`, `document_incomplete`, `document_invalid`, `document_manipulated`, `document_missing_back`, `document_missing_front`, `document_not_readable`, `document_not_uploaded`, `document_photo_mismatch`, `document_too_large`, or `document_type_not_supported`. A machine-readable code specifying the verification state for this document.
367 368 369 |
# File 'lib/stripe/resources/person.rb', line 367 def details_code @details_code end |
#front ⇒ Object (readonly)
The front of an ID returned by a [file upload](stripe.com/docs/api#create_file) with a ‘purpose` value of `identity_document`.
369 370 371 |
# File 'lib/stripe/resources/person.rb', line 369 def front @front end |
Class Method Details
.field_remappings ⇒ Object
375 376 377 |
# File 'lib/stripe/resources/person.rb', line 375 def self.field_remappings @field_remappings = {} end |
.inner_class_types ⇒ Object
371 372 373 |
# File 'lib/stripe/resources/person.rb', line 371 def self.inner_class_types @inner_class_types = {} end |