public class SenderInformation extends Object
is(VALID_SENDER)
for å avgjøre om avsenderen er gyldig, og eksempelvis
hasEnabled(DIGIPOST_DELIVERY)
for å sjekke om du kan sende post fra avsenderen med REST-APIet til Digipost.SenderStatus,
SenderFeature| Constructor and Description |
|---|
SenderInformation() |
SenderInformation(Long senderId,
SenderStatus status,
List<SenderFeature> supportedFeatures) |
| Modifier and Type | Method and Description |
|---|---|
no.digipost.print.validate.PdfValidationSettings |
getPdfValidationSettings() |
Long |
getSenderId() |
no.motif.types.Elements<SenderFeature> |
getSupportedFeatures() |
boolean |
hasEnabled(SenderFeature feature) |
boolean |
is(SenderStatus status) |
String |
toString() |
public SenderInformation()
public SenderInformation(Long senderId, SenderStatus status, List<SenderFeature> supportedFeatures)
public Long getSenderId()
public boolean is(SenderStatus status)
public no.motif.types.Elements<SenderFeature> getSupportedFeatures()
public boolean hasEnabled(SenderFeature feature)
public no.digipost.print.validate.PdfValidationSettings getPdfValidationSettings()
Copyright © 2016 Digipost Open Source. All rights reserved.