Class: Stripe::Identity::VerificationReport::Document

Inherits:
StripeObject
  • Object
show all
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

Attributes inherited from StripeObject

#last_response

Method Summary

Methods inherited from StripeObject

#==, #[], #[]=, 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

#addressObject (readonly)

Address as it appears in the document.



87
88
89
# File 'lib/stripe/resources/identity/verification_report.rb', line 87

def address
  @address
end

#dobObject (readonly)

Date of birth as it appears in the document.



90
91
92
# File 'lib/stripe/resources/identity/verification_report.rb', line 90

def dob
  @dob
end

#errorObject (readonly)

Details on the verification error. Present when status is ‘unverified`.



93
94
95
# File 'lib/stripe/resources/identity/verification_report.rb', line 93

def error
  @error
end

#expiration_dateObject (readonly)

Expiration date of the document.



96
97
98
# File 'lib/stripe/resources/identity/verification_report.rb', line 96

def expiration_date
  @expiration_date
end

#filesObject (readonly)

Array of [File](stripe.com/docs/api/files) ids containing images for this document.



99
100
101
# File 'lib/stripe/resources/identity/verification_report.rb', line 99

def files
  @files
end

#first_nameObject (readonly)

First name as it appears in the document.



102
103
104
# File 'lib/stripe/resources/identity/verification_report.rb', line 102

def first_name
  @first_name
end

#issued_dateObject (readonly)

Issued date of the document.



105
106
107
# File 'lib/stripe/resources/identity/verification_report.rb', line 105

def issued_date
  @issued_date
end

#issuing_countryObject (readonly)

Issuing country of the document.



108
109
110
# File 'lib/stripe/resources/identity/verification_report.rb', line 108

def issuing_country
  @issuing_country
end

#last_nameObject (readonly)

Last name as it appears in the document.



111
112
113
# File 'lib/stripe/resources/identity/verification_report.rb', line 111

def last_name
  @last_name
end

#numberObject (readonly)

Document ID number.



114
115
116
# File 'lib/stripe/resources/identity/verification_report.rb', line 114

def number
  @number
end

#statusObject (readonly)

Status of this ‘document` check.



117
118
119
# File 'lib/stripe/resources/identity/verification_report.rb', line 117

def status
  @status
end

#typeObject (readonly)

Type of the document.



120
121
122
# File 'lib/stripe/resources/identity/verification_report.rb', line 120

def type
  @type
end