Class: Stripe::Identity::VerificationReport::Document
- Inherits:
-
StripeObject
- Object
- StripeObject
- Stripe::Identity::VerificationReport::Document
- Defined in:
- lib/stripe/resources/identity/verification_report.rb
Defined Under Namespace
Classes: Address, Dob, Error, ExpirationDate, IssuedDate
Constant Summary
Constants inherited from StripeObject
StripeObject::RESERVED_FIELD_NAMES
Instance Attribute Summary collapse
-
#address ⇒ Object
readonly
Address as it appears in the document.
-
#dob ⇒ Object
readonly
Date of birth as it appears in the document.
-
#error ⇒ Object
readonly
Details on the verification error.
-
#expiration_date ⇒ Object
readonly
Expiration date of the document.
-
#files ⇒ Object
readonly
Array of [File](stripe.com/docs/api/files) ids containing images for this document.
-
#first_name ⇒ Object
readonly
First name as it appears in the document.
-
#issued_date ⇒ Object
readonly
Issued date of the document.
-
#issuing_country ⇒ Object
readonly
Issuing country of the document.
-
#last_name ⇒ Object
readonly
Last name as it appears in the document.
-
#number ⇒ Object
readonly
Document ID number.
-
#sex ⇒ Object
readonly
Sex of the person in the document.
-
#status ⇒ Object
readonly
Status of this ‘document` check.
-
#type ⇒ Object
readonly
Type of the document.
-
#unparsed_place_of_birth ⇒ Object
readonly
Place of birth as it appears in the document.
-
#unparsed_sex ⇒ Object
readonly
Sex as it appears in the 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
#address ⇒ Object (readonly)
Address as it appears in the document.
115 116 117 |
# File 'lib/stripe/resources/identity/verification_report.rb', line 115 def address @address end |
#dob ⇒ Object (readonly)
Date of birth as it appears in the document.
117 118 119 |
# File 'lib/stripe/resources/identity/verification_report.rb', line 117 def dob @dob end |
#error ⇒ Object (readonly)
Details on the verification error. Present when status is ‘unverified`.
119 120 121 |
# File 'lib/stripe/resources/identity/verification_report.rb', line 119 def error @error end |
#expiration_date ⇒ Object (readonly)
Expiration date of the document.
121 122 123 |
# File 'lib/stripe/resources/identity/verification_report.rb', line 121 def expiration_date @expiration_date end |
#files ⇒ Object (readonly)
Array of [File](stripe.com/docs/api/files) ids containing images for this document.
123 124 125 |
# File 'lib/stripe/resources/identity/verification_report.rb', line 123 def files @files end |
#first_name ⇒ Object (readonly)
First name as it appears in the document.
125 126 127 |
# File 'lib/stripe/resources/identity/verification_report.rb', line 125 def first_name @first_name end |
#issued_date ⇒ Object (readonly)
Issued date of the document.
127 128 129 |
# File 'lib/stripe/resources/identity/verification_report.rb', line 127 def issued_date @issued_date end |
#issuing_country ⇒ Object (readonly)
Issuing country of the document.
129 130 131 |
# File 'lib/stripe/resources/identity/verification_report.rb', line 129 def issuing_country @issuing_country end |
#last_name ⇒ Object (readonly)
Last name as it appears in the document.
131 132 133 |
# File 'lib/stripe/resources/identity/verification_report.rb', line 131 def last_name @last_name end |
#number ⇒ Object (readonly)
Document ID number.
133 134 135 |
# File 'lib/stripe/resources/identity/verification_report.rb', line 133 def number @number end |
#sex ⇒ Object (readonly)
Sex of the person in the document.
135 136 137 |
# File 'lib/stripe/resources/identity/verification_report.rb', line 135 def sex @sex end |
#status ⇒ Object (readonly)
Status of this ‘document` check.
137 138 139 |
# File 'lib/stripe/resources/identity/verification_report.rb', line 137 def status @status end |
#type ⇒ Object (readonly)
Type of the document.
139 140 141 |
# File 'lib/stripe/resources/identity/verification_report.rb', line 139 def type @type end |
#unparsed_place_of_birth ⇒ Object (readonly)
Place of birth as it appears in the document.
141 142 143 |
# File 'lib/stripe/resources/identity/verification_report.rb', line 141 def unparsed_place_of_birth @unparsed_place_of_birth end |
#unparsed_sex ⇒ Object (readonly)
Sex as it appears in the document.
143 144 145 |
# File 'lib/stripe/resources/identity/verification_report.rb', line 143 def unparsed_sex @unparsed_sex end |
Class Method Details
.field_remappings ⇒ Object
155 156 157 |
# File 'lib/stripe/resources/identity/verification_report.rb', line 155 def self.field_remappings @field_remappings = {} end |
.inner_class_types ⇒ Object
145 146 147 148 149 150 151 152 153 |
# File 'lib/stripe/resources/identity/verification_report.rb', line 145 def self.inner_class_types @inner_class_types = { address: Address, dob: Dob, error: Error, expiration_date: ExpirationDate, issued_date: IssuedDate, } end |