Class: Stripe::Identity::VerificationReport::IdNumber

Inherits:
StripeObject
  • Object
show all
Defined in:
lib/stripe/resources/identity/verification_report.rb

Defined Under Namespace

Classes: Dob, Error

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

#dobObject (readonly)

Date of birth.



161
162
163
# File 'lib/stripe/resources/identity/verification_report.rb', line 161

def dob
  @dob
end

#errorObject (readonly)

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



164
165
166
# File 'lib/stripe/resources/identity/verification_report.rb', line 164

def error
  @error
end

#first_nameObject (readonly)

First name.



167
168
169
# File 'lib/stripe/resources/identity/verification_report.rb', line 167

def first_name
  @first_name
end

#id_numberObject (readonly)

ID number. When ‘id_number_type` is `us_ssn`, only the last 4 digits are present.



170
171
172
# File 'lib/stripe/resources/identity/verification_report.rb', line 170

def id_number
  @id_number
end

#id_number_typeObject (readonly)

Type of ID number.



173
174
175
# File 'lib/stripe/resources/identity/verification_report.rb', line 173

def id_number_type
  @id_number_type
end

#last_nameObject (readonly)

Last name.



176
177
178
# File 'lib/stripe/resources/identity/verification_report.rb', line 176

def last_name
  @last_name
end

#statusObject (readonly)

Status of this ‘id_number` check.



179
180
181
# File 'lib/stripe/resources/identity/verification_report.rb', line 179

def status
  @status
end