Attachment class abstract

Attachment

Properties:

  • content - The document in Base64-encoded string format.
  • contentType - The file format. Possible values: application/pdf, image/jpg, image/jpeg, image/png.
  • filename - The name of the file including the file extension.
  • pageName - The name of the file including the file extension.
  • pageType - Specifies which side of the ID card is uploaded. * If the type is driversLicense or identityCard, you must set this to front or back and include both sides in the same API request. * For any other types, when this is omitted, we infer the page number based on the order of attachments.
Annotations
  • @BuiltValue.new()

Constructors

Attachment([void updates(AttachmentBuilder b)])
factory

Properties

content → String
The document in Base64-encoded string format.
no setter
contentType → String?
The file format. Possible values: application/pdf, image/jpg, image/jpeg, image/png.
no setter
filename → String?
The name of the file including the file extension.
no setter
hashCode → int
The hash code for this object.
no setterinherited
pageName → String?
The name of the file including the file extension.
no setter
pageType → String?
Specifies which side of the ID card is uploaded. * If the type is driversLicense or identityCard, you must set this to front or back and include both sides in the same API request. * For any other types, when this is omitted, we infer the page number based on the order of attachments.
no setter
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
rebuild(dynamic updates(AttachmentBuilder)) → Attachment
Rebuilds the instance.
inherited
toBuilder() → AttachmentBuilder
Converts the instance to a builder B.
inherited
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited

Static Properties

serializer → Serializer<Attachment>
no setter