Class: Stripe::Identity::VerificationSession::Options

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

Defined Under Namespace

Classes: Document, Email, IdNumber, Matching, Phone

Constant Summary

Constants inherited from StripeObject

StripeObject::RESERVED_FIELD_NAMES

Instance Attribute Summary collapse

Attributes inherited from StripeObject

#last_response

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

#documentObject (readonly)

Attribute for field document



113
114
115
# File 'lib/stripe/resources/identity/verification_session.rb', line 113

def document
  @document
end

#emailObject (readonly)

Attribute for field email



115
116
117
# File 'lib/stripe/resources/identity/verification_session.rb', line 115

def email
  @email
end

#id_numberObject (readonly)

Attribute for field id_number



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

def id_number
  @id_number
end

#matchingObject (readonly)

Attribute for field matching



119
120
121
# File 'lib/stripe/resources/identity/verification_session.rb', line 119

def matching
  @matching
end

#phoneObject (readonly)

Attribute for field phone



121
122
123
# File 'lib/stripe/resources/identity/verification_session.rb', line 121

def phone
  @phone
end

Class Method Details

.field_remappingsObject



133
134
135
# File 'lib/stripe/resources/identity/verification_session.rb', line 133

def self.field_remappings
  @field_remappings = {}
end

.inner_class_typesObject



123
124
125
126
127
128
129
130
131
# File 'lib/stripe/resources/identity/verification_session.rb', line 123

def self.inner_class_types
  @inner_class_types = {
    document: Document,
    email: Email,
    id_number: IdNumber,
    matching: Matching,
    phone: Phone,
  }
end