Class Message.MessageBuilder
java.lang.Object
no.digipost.api.client.representations.Message.MessageBuilder
- Enclosing class:
Message
-
Method Summary
Modifier and TypeMethodDescriptionattachments
(Iterable<? extends Document> attachments) attachments
(Document... attachments) build()
deliveryTime
(ZonedDateTime deliveryTime) invoiceReference
(String invoiceReference) printDetails
(PrintDetails printDetails) printIfUnread
(PrintIfUnread printIfUnread) recipient
(BankAccountNumber bankAccountNumber) recipient
(DigipostAddress digipostAddress) recipient
(MessageRecipient recipient) recipient
(NameAndAddress nameAndAddress) recipient
(OrganisationNumber organisationNumber) recipient
(PeppolAddresses peppolAddresses) recipient
(PersonalIdentificationNumber personalIdentificationNumber) requestForRegistration
(RequestForRegistration requestForRegistration) Only neccessary when sending on behalf of another user.senderOrganization
(SenderOrganization senderOrganization) Only neccessary when sending on behalf of another user.
-
Method Details
-
senderId
Only neccessary when sending on behalf of another user. In this case senderId must be the party you are sending on behalf of. Your own user id should be set in the http header X-Digipost-UserId. -
senderOrganization
Only neccessary when sending on behalf of another user. In this case senderOrganization must be the party you are sending on behalf of. Your own user id should be set in the http header X-Digipost-UserId. -
recipient
-
recipient
-
recipient
-
recipient
-
recipient
-
recipient
-
recipient
-
printDetails
-
deliveryTime
-
invoiceReference
-
printIfUnread
-
requestForRegistration
-
attachments
-
attachments
-
batch
-
build
-