- don't copy created/updated timestamps
Signed-off-by: Roland Häder <roland@mxchange.org>
targetReceipt.setReceiptBarCodeNumber(sourceReceipt.getReceiptBarCodeNumber());
targetReceipt.setReceiptBonusCard(sourceReceipt.getReceiptBonusCard());
targetReceipt.setReceiptBranchOffice(sourceReceipt.getReceiptBranchOffice());
- targetReceipt.setReceiptEntryCreated(sourceReceipt.getReceiptEntryCreated());
- targetReceipt.setReceiptEntryUpdated(sourceReceipt.getReceiptEntryUpdated());
targetReceipt.setReceiptId(sourceReceipt.getReceiptId());
targetReceipt.setReceiptIssued(sourceReceipt.getReceiptIssued());
targetReceipt.setReceiptNumber(sourceReceipt.getReceiptNumber());
// Copy all fields
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());