Class: Stripe::Identity::VerificationSession::Options::Document
- Inherits:
-
StripeObject
- Object
- StripeObject
- Stripe::Identity::VerificationSession::Options::Document
- Defined in:
- lib/stripe/resources/identity/verification_session.rb
Constant Summary
Constants inherited from StripeObject
StripeObject::RESERVED_FIELD_NAMES
Instance Attribute Summary collapse
-
#allowed_types ⇒ Object
readonly
Array of strings of allowed identity document types.
-
#require_id_number ⇒ Object
readonly
Collect an ID number and perform an [ID number check](stripe.com/docs/identity/verification-checks?type=id-number) with the document’s extracted name and date of birth.
-
#require_live_capture ⇒ Object
readonly
Disable image uploads, identity document images have to be captured using the device’s camera.
-
#require_matching_selfie ⇒ Object
readonly
Capture a face image and perform a [selfie check](stripe.com/docs/identity/verification-checks?type=selfie) comparing a photo ID and a picture of your user’s face.
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
#allowed_types ⇒ Object (readonly)
Array of strings of allowed identity document types. If the provided identity document isn’t one of the allowed types, the verification check will fail with a document_type_not_allowed error code.
45 46 47 |
# File 'lib/stripe/resources/identity/verification_session.rb', line 45 def allowed_types @allowed_types end |
#require_id_number ⇒ Object (readonly)
Collect an ID number and perform an [ID number check](stripe.com/docs/identity/verification-checks?type=id-number) with the document’s extracted name and date of birth.
47 48 49 |
# File 'lib/stripe/resources/identity/verification_session.rb', line 47 def require_id_number @require_id_number end |
#require_live_capture ⇒ Object (readonly)
Disable image uploads, identity document images have to be captured using the device’s camera.
49 50 51 |
# File 'lib/stripe/resources/identity/verification_session.rb', line 49 def require_live_capture @require_live_capture end |
#require_matching_selfie ⇒ Object (readonly)
Capture a face image and perform a [selfie check](stripe.com/docs/identity/verification-checks?type=selfie) comparing a photo ID and a picture of your user’s face. [Learn more](stripe.com/docs/identity/selfie).
51 52 53 |
# File 'lib/stripe/resources/identity/verification_session.rb', line 51 def require_matching_selfie @require_matching_selfie end |
Class Method Details
.field_remappings ⇒ Object
57 58 59 |
# File 'lib/stripe/resources/identity/verification_session.rb', line 57 def self.field_remappings @field_remappings = {} end |
.inner_class_types ⇒ Object
53 54 55 |
# File 'lib/stripe/resources/identity/verification_session.rb', line 53 def self.inner_class_types @inner_class_types = {} end |