public ReceiptPayment( decimal mAmount, string strReferenceNo, IPP iPP, Payment payment, Receipt receipt ) { this._mAmount = mAmount; this._strReferenceNo = strReferenceNo; this._iPP = iPP; this._payment = payment; this._receipt = receipt; }
public void AddPayment(Payment payment) { payment.PaymentGroup = this; _payments.Add(payment); }