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.



138
139
140
# File 'lib/stripe/resources/identity/verification_report.rb', line 138

def dob
  @dob
end

#errorObject (readonly)

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



140
141
142
# File 'lib/stripe/resources/identity/verification_report.rb', line 140

def error
  @error
end

#first_nameObject (readonly)

First name.



142
143
144
# File 'lib/stripe/resources/identity/verification_report.rb', line 142

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.



144
145
146
# File 'lib/stripe/resources/identity/verification_report.rb', line 144

def id_number
  @id_number
end

#id_number_typeObject (readonly)

Type of ID number.



146
147
148
# File 'lib/stripe/resources/identity/verification_report.rb', line 146

def id_number_type
  @id_number_type
end

#last_nameObject (readonly)

Last name.



148
149
150
# File 'lib/stripe/resources/identity/verification_report.rb', line 148

def last_name
  @last_name
end

#statusObject (readonly)

Status of this ‘id_number` check.



150
151
152
# File 'lib/stripe/resources/identity/verification_report.rb', line 150

def status
  @status
end