XenditKycDocument class
Constructors
-
XenditKycDocument({required String country, required XenditKycDocumentType type, String? subType, String? documentName, String? documentNumber, String? expiresAt, String? holderName, required List<
String> documentImages}) - Array of JSON objects with documents collected for KYC of this customer.
-
XenditKycDocument.fromJson(Map<
String, dynamic> json) -
factory
Properties
- country → String
-
Issuing country of the document
final
-
documentImages
→ List<
String> -
Array of file ids returned from uploads to the files endpoint, representing images of the front/back of the document, in png/jpg/jpeg/pdf format
final
- documentName → String?
-
Free text description of the type of document (e.g., NIB, SIUP, AKTA)
final
- documentNumber → String?
-
Unique alphanumeric identity document number or code
final
- expiresAt → String?
-
Expiry date, if relevant.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- holderName → String?
-
Free text to capture the full name(s) of the individual or business as defined on the document, if relevant
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- subType → String?
-
Specific ID type for
IDENTITY_CARD
types.final - type → XenditKycDocumentType
-
Generic ID type
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited