public final class UblCreditNoteUtils extends Object
| Constructor and Description |
|---|
UblCreditNoteUtils() |
| Modifier and Type | Method and Description |
|---|---|
static byte[] |
generateEHFV3InvoiceXML(InvoiceDTO invoiceDTO)
Marshalling creditnote object to byte array.
|
static void |
generateEHFV3InvoiceXML(InvoiceDTO invoiceDTO,
String filePath)
Marshalling creditnote object to XML file.
|
static InvoiceDTO |
getEHFV3Invoice(File file)
Unmarshalling XML file to creditnote object.
|
static InvoiceDTO |
getEHFV3Invoice(InputStream is)
Method used to convert EHF CreditNote XML file stream to EHF CreditNote object
|
static InvoiceDTO |
getEHFV3Invoice(String filePath)
Method used to convert EHF CreditNote XML file to EHF CreditNote object
|
static JAXBContext |
getJAXBContext() |
public static JAXBContext getJAXBContext() throws Exception
Exceptionpublic static void generateEHFV3InvoiceXML(InvoiceDTO invoiceDTO, String filePath) throws Throwable
Throwablepublic static byte[] generateEHFV3InvoiceXML(InvoiceDTO invoiceDTO) throws JAXBException
JAXBExceptionpublic static InvoiceDTO getEHFV3Invoice(File file) throws Throwable
Throwablepublic static InvoiceDTO getEHFV3Invoice(String filePath) throws Throwable
Throwablepublic static InvoiceDTO getEHFV3Invoice(InputStream is) throws Throwable
ThrowableCopyright © 2021 Norwegian Agency for Public Management and eGovernment (Difi). All rights reserved.