Class DocumentUploadParams.Body
-
- All Implemented Interfaces:
public final class DocumentUploadParams.BodyFile input for uploading a
KYCDocument.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classDocumentUploadParams.Body.BuilderA builder for Body.
-
Method Summary
Modifier and Type Method Description final InputStreamfile()File to be uploaded. final MultipartField<InputStream>_file()Returns the raw multipart value of file. final DocumentUploadParams.Body.BuildertoBuilder()final DocumentUploadParams.Bodyvalidate()final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static DocumentUploadParams.Body.Builderbuilder()Returns a mutable builder for constructing an instance of Body. -
-
Method Detail
-
file
final InputStream file()
File to be uploaded. Must be a valid image or PDF file (jpg, jpeg, png, pdf) less than 10MB in size.
-
_file
final MultipartField<InputStream> _file()
Returns the raw multipart value of file.
Unlike file, this method doesn't throw if the multipart field has an unexpected type.
-
toBuilder
final DocumentUploadParams.Body.Builder toBuilder()
-
validate
final DocumentUploadParams.Body validate()
-
builder
final static DocumentUploadParams.Body.Builder builder()
Returns a mutable builder for constructing an instance of Body.
The following fields are required:
.file()
-
-
-
-