@Immutable public final class UBL22InvoiceHelper extends Object
| Modifier and Type | Method and Description |
|---|---|
static void |
cloneInvoiceToCreditNote(InvoiceType aSrc,
CreditNoteType aDst)
Clone an
InvoiceType to a CreditNoteType. |
static CreditedQuantityType |
cloneToCreditedQuantity(InvoicedQuantityType aSrc) |
static void |
cloneToCreditNoteLine(InvoiceLineType aSrc,
CreditNoteLineType aDst)
Clone an
InvoiceLineType to a CreditNoteLineType. |
static CreditNoteTypeCodeType |
cloneToCreditNoteTypeCode(InvoiceTypeCodeType aSrc) |
@Nonnull public static CreditedQuantityType cloneToCreditedQuantity(@Nonnull InvoicedQuantityType aSrc)
aSrc - Source InvoicedQuantityTypeCreditedQuantityType@Nullable public static CreditNoteTypeCodeType cloneToCreditNoteTypeCode(@Nullable InvoiceTypeCodeType aSrc)
aSrc - Source InvoiceTypeCodeTypeCreditNoteTypeCodeTypepublic static void cloneToCreditNoteLine(@Nonnull InvoiceLineType aSrc, @Nonnull CreditNoteLineType aDst)
InvoiceLineType to a CreditNoteLineType. No values
or signs or anything is changed.aSrc - Source invoice line. May not be null.aDst - Destination credit note line. May not be null.public static void cloneInvoiceToCreditNote(@Nonnull InvoiceType aSrc, @Nonnull CreditNoteType aDst)
InvoiceType to a CreditNoteType. No values or
signs or anything is changed.aSrc - Source invoice. May not be null.aDst - Destination credit note. May not be null.Copyright © 2017–2021 Philip Helger. All rights reserved.