Ejemplo n.º 1
0
 internal static AffadavitReceiptDetails MapToDetails(
     TreastenderAffadavits receipt,
     TreascashReceiptsTender cashReceipt,
     AsmttaxCodeArea codeArea,
     System.Collections.Generic.List <AffadavitReceiptParcel> affadavitParcels)
 => new AffadavitReceiptDetails(receipt.Id, (int)receipt.TranYear.Value, receipt.ReceiptTranNumber.Value, receipt.TotalPaid, receipt.ReceiptTran,
                                receipt.AffidavitDate, receipt.ParcelNumber, receipt.LegalDocumentType, receipt.DocumentDate, receipt.TaxCodeArea, receipt.TaxStatus,
                                cashReceipt?.ReceiptDate, codeArea?.TaxCodeDesc, affadavitParcels);
Ejemplo n.º 2
0
 internal static CashReceipt Map(TreascashReceiptsTender receipt)
 => new CashReceipt(receipt.Id, (int)receipt.TranYear.Value, receipt.ReceiptTranNumber.Value, receipt.TaxPayerName.Trim(), receipt.TaxPayerName.Trim(),
                    receipt.AddressLine1.Trim(), receipt.AddressLine2.Trim(), receipt.ReceiptDate, receipt.ChangeSerId, receipt.Comments.Trim(), receipt.Comments2.Trim(),
                    receipt.PaymentMethod.Trim(), receipt.AmountTendered);