class

Stripe::GelatoDocumentReport

Inherits OpenApi::Json < OpenApi::Validatable < JSON::Serializable::Unmapped < JSON::Serializable < Reference < Object

Result from a document check

Constants

ERROR_MESSAGE_FOR__TYPE = "invalid value for \"_type\", must be one of [driving_license, id_card, passport]."
ERROR_MESSAGE_FOR_STATUS = "invalid value for \"status\", must be one of [unverified, verified]."
MAX_LENGTH_FOR_FIRST_NAME = 5000
MAX_LENGTH_FOR_ISSUING_COUNTRY = 5000
MAX_LENGTH_FOR_LAST_NAME = 5000
MAX_LENGTH_FOR_NUMBER = 5000
VALID_VALUES_FOR__TYPE = String.static_array("driving_license", "id_card", "passport")
VALID_VALUES_FOR_STATUS = String.static_array("unverified", "verified")

Constructors

new(*, __pull_for_json_serializable pull : JSON::PullParser)
Source
new(*, address : Stripe::GelatoDocumentReportAddress | Nil = nil, error : Stripe::GelatoDocumentReportError1 | Nil = nil, files : Array(String) | Nil = nil, first_name : String | Nil = nil, issued_date : Stripe::GelatoDocumentReportIssuedDate | Nil = nil, issuing_country : String | Nil = nil, last_name : String | Nil = nil, status : String | Nil = nil, _type : String | Nil = nil, dob : Stripe::GelatoDocumentReportDob | Nil = nil, expiration_date : Stripe::GelatoDocumentReportExpirationDate | Nil = nil, number : String | Nil = nil)

Initializes the object @param [Hash] attributes Model attributes in the form of hash

Source

Instance methods

==(other : self)

Generates #hash and #== methods from all fields #== @return [Bool] #hash calculates hash code according to all attributes. #hash @return [UInt64] Hash code

_type

Type of the document.

Source
_type=(new_value : String | Nil)

Custom attribute writer method checking allowed values (enum). @param [Object] _type Object to be assigned

Source
address
Source
address=(new_value : Stripe::GelatoDocumentReportAddress | Nil)

Custom attribute writer method checking allowed values (enum). @param [Object] address Object to be assigned

Source
dob=(new_value : Stripe::GelatoDocumentReportDob | Nil)

Custom attribute writer method checking allowed values (enum). @param [Object] dob Object to be assigned

Source
dob_present=(dob_present : Bool)
Source
dob_present?
Source
error
Source
error=(new_value : Stripe::GelatoDocumentReportError1 | Nil)

Custom attribute writer method checking allowed values (enum). @param [Object] error Object to be assigned

Source
expiration_date
Source
expiration_date=(new_value : Stripe::GelatoDocumentReportExpirationDate | Nil)

Custom attribute writer method checking allowed values (enum). @param [Object] expiration_date Object to be assigned

Source
expiration_date_present=(expiration_date_present : Bool)
Source
expiration_date_present?
Source
files

Array of File ids containing images for this document.

Source
files=(new_value : Array(String) | Nil)

Custom attribute writer method checking allowed values (enum). @param [Object] files Object to be assigned

Source
first_name

First name as it appears in the document.

Source
first_name=(new_value : String | Nil)

Custom attribute writer method checking allowed values (enum). @param [Object] first_name Object to be assigned

Source
hash(hasher)

Generates #hash and #== methods from all fields #== @return [Bool] #hash calculates hash code according to all attributes. #hash @return [UInt64] Hash code

issued_date
Source
issued_date=(new_value : Stripe::GelatoDocumentReportIssuedDate | Nil)

Custom attribute writer method checking allowed values (enum). @param [Object] issued_date Object to be assigned

Source
issuing_country

Issuing country of the document.

Source
issuing_country=(new_value : String | Nil)

Custom attribute writer method checking allowed values (enum). @param [Object] issuing_country Object to be assigned

Source
last_name

Last name as it appears in the document.

Source
last_name=(new_value : String | Nil)

Custom attribute writer method checking allowed values (enum). @param [Object] last_name Object to be assigned

Source
list_invalid_properties

Show invalid properties with the reasons. Usually used together with valid? @return Array for valid properties with the reasons

Source
number

Document ID number.

Source
number=(new_value : String | Nil)

Custom attribute writer method checking allowed values (enum). @param [Object] number Object to be assigned

Source
number_present=(number_present : Bool)
Source
number_present?
Source
status

Status of this document check.

Source
status=(new_value : String | Nil)

Custom attribute writer method checking allowed values (enum). @param [Object] status Object to be assigned

Source
valid?

Check to see if the all the properties in the model are valid @return true if the model is valid

Source