diff options
Diffstat (limited to 'src/app/Cmpp298.Assignment3.Dto/DisplayInvoiceDto.cs')
| -rw-r--r-- | src/app/Cmpp298.Assignment3.Dto/DisplayInvoiceDto.cs | 68 |
1 files changed, 68 insertions, 0 deletions
diff --git a/src/app/Cmpp298.Assignment3.Dto/DisplayInvoiceDto.cs b/src/app/Cmpp298.Assignment3.Dto/DisplayInvoiceDto.cs new file mode 100644 index 0000000..60a6739 --- /dev/null +++ b/src/app/Cmpp298.Assignment3.Dto/DisplayInvoiceDto.cs @@ -0,0 +1,68 @@ +namespace Cmpp298.Assignment3.Dto {
+ public class DisplayInvoiceDto {
+ public DisplayInvoiceDto( string invoiceId, string vendorName, string invoiceNumber, string invoiceDate, string invoiceTotal,
+ string paymentTotal, string creditTotal, string terms, string dueDate, string paymentDate ) {
+ _invoiceId = invoiceId;
+ _vendorName = vendorName;
+ _invoiceNumber = invoiceNumber;
+ _invoiceDate = invoiceDate;
+ _invoiceTotal = invoiceTotal;
+ _paymentTotal = paymentTotal;
+ _creditTotal = creditTotal;
+ _terms = terms;
+ _dueDate = dueDate;
+ _paymentDate = paymentDate;
+ }
+
+ public string InvoiceId {
+ get { return _invoiceId; }
+ }
+
+ public string VendorName {
+ get { return _vendorName; }
+ }
+
+ public string InvoiceNumber {
+ get { return _invoiceNumber; }
+ }
+
+ public string InvoiceDate {
+ get { return _invoiceDate; }
+ }
+
+ public string InvoiceTotal {
+ get { return _invoiceTotal; }
+ }
+
+ public string PaymentTotal {
+ get { return _paymentTotal; }
+ }
+
+ public string CreditTotal {
+ get { return _creditTotal; }
+ }
+
+ public string Terms {
+ get { return _terms; }
+ }
+
+ public string DueDate {
+ get { return _dueDate; }
+ }
+
+ public string PaymentDate {
+ get { return _paymentDate; }
+ }
+
+ private readonly string _invoiceId;
+ private readonly string _vendorName;
+ private readonly string _invoiceNumber;
+ private readonly string _invoiceDate;
+ private readonly string _invoiceTotal;
+ private readonly string _paymentTotal;
+ private readonly string _creditTotal;
+ private readonly string _terms;
+ private readonly string _dueDate;
+ private readonly string _paymentDate;
+ }
+}
\ No newline at end of file |
