Struct stripe::PersonVerificationDocument
source · pub struct PersonVerificationDocument {
pub back: Option<Expandable<File>>,
pub details: Option<String>,
pub details_code: Option<String>,
pub front: Option<Expandable<File>>,
}
Fields§
§back: Option<Expandable<File>>
The back of an ID returned by a file upload with a purpose
value of identity_document
.
details: Option<String>
A user-displayable string describing the verification state of this document.
For example, if a document is uploaded and the picture is too fuzzy, this may say “Identity document is too unclear to read”.
details_code: Option<String>
One of document_corrupt
, document_country_not_supported
, document_expired
, document_failed_copy
, document_failed_other
, document_failed_test_mode
, document_fraudulent
, document_failed_greyscale
, document_incomplete
, document_invalid
, document_manipulated
, document_missing_back
, document_missing_front
, document_not_readable
, document_not_uploaded
, document_photo_mismatch
, document_too_large
, or document_type_not_supported
.
A machine-readable code specifying the verification state for this document.
front: Option<Expandable<File>>
The front of an ID returned by a file upload with a purpose
value of identity_document
.
Trait Implementations§
source§impl Clone for PersonVerificationDocument
impl Clone for PersonVerificationDocument
source§fn clone(&self) -> PersonVerificationDocument
fn clone(&self) -> PersonVerificationDocument
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more