From: Roland Häder Date: Fri, 24 Apr 2020 19:29:40 +0000 (+0200) Subject: Continued: X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=eecb3435f82257ccb12b8e4cda07d9655c5ccd07;p=jfinancials-core.git Continued: - ops, source -> target, not target -> source copying Signed-off-by: Roland Häder --- diff --git a/src/org/mxchange/jfinancials/model/receipt_item/ReceiptItems.java b/src/org/mxchange/jfinancials/model/receipt_item/ReceiptItems.java index 9668012..6d2e663 100644 --- a/src/org/mxchange/jfinancials/model/receipt_item/ReceiptItems.java +++ b/src/org/mxchange/jfinancials/model/receipt_item/ReceiptItems.java @@ -53,21 +53,21 @@ public class ReceiptItems implements Serializable { } // Copy all fields - sourceReceiptItem.setItemBrandName(targetReceiptItem.getItemBrandName()); - sourceReceiptItem.setItemCouponNumber(targetReceiptItem.getItemCouponNumber()); - sourceReceiptItem.setItemEntryCreated(targetReceiptItem.getItemEntryCreated()); - sourceReceiptItem.setItemEntryUpdated(targetReceiptItem.getItemEntryUpdated()); - sourceReceiptItem.setItemGrossPrice(targetReceiptItem.getItemGrossPrice()); - sourceReceiptItem.setItemId(targetReceiptItem.getItemId()); - sourceReceiptItem.setItemIsDiscount(targetReceiptItem.getItemIsDiscount()); - sourceReceiptItem.setItemIsRefund(targetReceiptItem.getItemIsRefund()); - sourceReceiptItem.setItemManufacturer(targetReceiptItem.getItemManufacturer()); - sourceReceiptItem.setItemNetPrice(targetReceiptItem.getItemNetPrice()); - sourceReceiptItem.setItemNumber(targetReceiptItem.getItemNumber()); - sourceReceiptItem.setItemProduct(targetReceiptItem.getItemProduct()); - sourceReceiptItem.setItemProductQuantity(targetReceiptItem.getItemProductQuantity()); - sourceReceiptItem.setItemReceipt(targetReceiptItem.getItemReceipt()); - sourceReceiptItem.setItemTaxRate(targetReceiptItem.getItemTaxRate()); + targetReceiptItem.setItemBrandName(sourceReceiptItem.getItemBrandName()); + targetReceiptItem.setItemCouponNumber(sourceReceiptItem.getItemCouponNumber()); + targetReceiptItem.setItemEntryCreated(sourceReceiptItem.getItemEntryCreated()); + targetReceiptItem.setItemEntryUpdated(sourceReceiptItem.getItemEntryUpdated()); + targetReceiptItem.setItemGrossPrice(sourceReceiptItem.getItemGrossPrice()); + targetReceiptItem.setItemId(sourceReceiptItem.getItemId()); + targetReceiptItem.setItemIsDiscount(sourceReceiptItem.getItemIsDiscount()); + targetReceiptItem.setItemIsRefund(sourceReceiptItem.getItemIsRefund()); + targetReceiptItem.setItemManufacturer(sourceReceiptItem.getItemManufacturer()); + targetReceiptItem.setItemNetPrice(sourceReceiptItem.getItemNetPrice()); + targetReceiptItem.setItemNumber(sourceReceiptItem.getItemNumber()); + targetReceiptItem.setItemProduct(sourceReceiptItem.getItemProduct()); + targetReceiptItem.setItemProductQuantity(sourceReceiptItem.getItemProductQuantity()); + targetReceiptItem.setItemReceipt(sourceReceiptItem.getItemReceipt()); + targetReceiptItem.setItemTaxRate(sourceReceiptItem.getItemTaxRate()); } /**