public static class CreateAttachmentDetails.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
CreateAttachmentDetails |
build() |
CreateAttachmentDetails.Builder |
copy(CreateAttachmentDetails model) |
CreateAttachmentDetails.Builder |
displayName(String displayName)
The name used to refer to the uploaded data.
|
CreateAttachmentDetails.Builder |
fileBase64Encoded(byte[] fileBase64Encoded)
Base64-encoded file to attach to the Offer.
|
CreateAttachmentDetails.Builder |
type(Attachment.Type type)
The type of offer attachment.
|
public CreateAttachmentDetails.Builder fileBase64Encoded(byte[] fileBase64Encoded)
Base64-encoded file to attach to the Offer. File must be a PDF with maximum size of 1 MB
fileBase64Encoded
- the value to setpublic CreateAttachmentDetails.Builder displayName(String displayName)
The name used to refer to the uploaded data.
displayName
- the value to setpublic CreateAttachmentDetails.Builder type(Attachment.Type type)
The type of offer attachment.
type
- the value to setpublic CreateAttachmentDetails build()
public CreateAttachmentDetails.Builder copy(CreateAttachmentDetails model)
Copyright © 2016–2024. All rights reserved.