]> git.mxchange.org Git - jfinancials-core.git/commitdiff
Continued:
authorRoland Häder <roland@mxchange.org>
Fri, 24 Apr 2020 19:29:40 +0000 (21:29 +0200)
committerRoland Häder <roland@mxchange.org>
Fri, 24 Apr 2020 19:29:40 +0000 (21:29 +0200)
- ops, source -> target, not target -> source copying

Signed-off-by: Roland Häder <roland@mxchange.org>
src/org/mxchange/jfinancials/model/receipt_item/ReceiptItems.java

index 9668012743511d784796461495e217aba5939067..6d2e663a8eecbb17d70e7b7730c342046e9e6c9d 100644 (file)
@@ -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());
        }
 
        /**