From eecb3435f82257ccb12b8e4cda07d9655c5ccd07 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Roland=20H=C3=A4der?= Date: Fri, 24 Apr 2020 21:29:40 +0200 Subject: [PATCH] Continued: - ops, source -> target, not target -> source copying MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Roland Häder --- .../model/receipt_item/ReceiptItems.java | 30 +++++++++---------- 1 file changed, 15 insertions(+), 15 deletions(-) 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()); } /** -- 2.39.5