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