public class PaymentUtil extends Object
| Constructor and Description |
|---|
PaymentUtil() |
| Modifier and Type | Method and Description |
|---|---|
static HandlingExceptionType |
convert(HandlingExceptionDTO dto) |
static byte[] |
convert(StandardBusinessDocumentHeader sbdh) |
static StandardBusinessDocumentHeader |
convertToSBDH(byte[] sbdh) |
static byte[] |
generateHandlingExceptionXML(HandlingExceptionDTO dto) |
static byte[] |
generateMetadataXML(MetadataDTO metadataDTO) |
static byte[] |
generateRequestAcknowledgementXML(RequestAcknowledgementDTO dto) |
static HandlingExceptionDTO |
getHandlingException(InputStream in) |
static MetadataDTO |
getMetadata(InputStream in) |
static RequestAcknowledgementDTO |
getRequestAcknowledgement(InputStream in) |
public static byte[] generateMetadataXML(MetadataDTO metadataDTO) throws JAXBException
JAXBExceptionpublic static MetadataDTO getMetadata(InputStream in) throws Exception
Exceptionpublic static byte[] generateRequestAcknowledgementXML(RequestAcknowledgementDTO dto) throws Exception
Exceptionpublic static RequestAcknowledgementDTO getRequestAcknowledgement(InputStream in) throws Exception
Exceptionpublic static byte[] generateHandlingExceptionXML(HandlingExceptionDTO dto) throws Exception
Exceptionpublic static HandlingExceptionType convert(HandlingExceptionDTO dto) throws Exception
Exceptionpublic static HandlingExceptionDTO getHandlingException(InputStream in) throws Exception
Exceptionpublic static StandardBusinessDocumentHeader convertToSBDH(byte[] sbdh) throws Exception
Exceptionpublic static byte[] convert(StandardBusinessDocumentHeader sbdh) throws JAXBException
JAXBExceptionCopyright © 2021 Norwegian Agency for Public Management and eGovernment (Difi). All rights reserved.