Ejemplo n.º 1
0
 public PaymentDTO(int id, decimal totalAmount, DateTime paymentDate, AccountDTO customer, InvoiceDTO invoice)
 {
     this.id          = id;
     this.totalAmount = totalAmount;
     this.paymentDate = paymentDate;
     this.customer    = customer;
     this.invoice     = invoice;
 }
Ejemplo n.º 2
0
 public void SetInvoice(InvoiceDTO invoice)
 {
     this.invoice = invoice;
 }
Ejemplo n.º 3
0
 public void AddInvoice(InvoiceDTO invoice)
 {
     this.invoices.Add(invoice);
 }