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
Exception
public static void generateEHFV3InvoiceXML(InvoiceDTO invoiceDTO, String filePath) throws Throwable
Throwable
public static byte[] generateEHFV3InvoiceXML(InvoiceDTO invoiceDTO) throws JAXBException
JAXBException
public static InvoiceDTO getEHFV3Invoice(File file) throws Throwable
Throwable
public static InvoiceDTO getEHFV3Invoice(String filePath) throws Throwable
Throwable
public static InvoiceDTO getEHFV3Invoice(InputStream is) throws Throwable
Throwable
Copyright © 2021 Norwegian Agency for Public Management and eGovernment (Difi). All rights reserved.