Package no.digipost.api.client.delivery
Interface OngoingDelivery.WithPrintFallback
- All Superinterfaces:
OngoingDelivery<OngoingDelivery.SendableWithPrintFallback>
- All Known Subinterfaces:
OngoingDelivery.SendableWithPrintFallback
- Enclosing interface:
OngoingDelivery<OPERATIONS extends OngoingDelivery<OPERATIONS> & OngoingDelivery.SendableDelivery>
public static interface OngoingDelivery.WithPrintFallback
extends OngoingDelivery<OngoingDelivery.SendableWithPrintFallback>
Operasjoner for å sende forsendelser til Digipost, men mulig fallback til print
dersom avsender har egnet avtale for dette.
-
Nested Class Summary
Nested classes/interfaces inherited from interface no.digipost.api.client.delivery.OngoingDelivery
OngoingDelivery.ForPrintOnly, OngoingDelivery.SendableDelivery, OngoingDelivery.SendableForPrintOnly, OngoingDelivery.SendableWithPrintFallback, OngoingDelivery.WithPrintFallback
-
Method Summary
Modifier and TypeMethodDescriptionaddContent
(Document document, byte[] content, byte[] printContent) Laster opp innhold til et dokument med alternativt innhold for print, hvor sistnevnte må være PDF.addContent
(Document document, InputStream content, InputStream printContent) Laster opp innhold til et dokument med alternativt innhold for print, hvor sistnevnte må være PDF.Methods inherited from interface no.digipost.api.client.delivery.OngoingDelivery
addContent, addContent
-
Method Details
-
addContent
OngoingDelivery.SendableWithPrintFallback addContent(Document document, InputStream content, InputStream printContent) Laster opp innhold til et dokument med alternativt innhold for print, hvor sistnevnte må være PDF.- Returns:
- videre operasjoner for å fullføre leveransen.
-
addContent
default OngoingDelivery.SendableWithPrintFallback addContent(Document document, byte[] content, byte[] printContent) Laster opp innhold til et dokument med alternativt innhold for print, hvor sistnevnte må være PDF.- Returns:
- videre operasjoner for å fullføre leveransen.
-