public SalePaymentItem(SalePaymentHeader header, PaymentInstrument inst, double quantity) : this() { Code = header.SalePaymentItems.Count(); TerminalCode = header.TerminalCode; TerminalToCode = header.TerminalToCode; SalePaymentHeaderCode = header.Code; PaymentInstrument = inst; Quantity = quantity; }
/// <summary> /// Create a new PaymentInstrument object. /// </summary> /// <param name="code">Initial value of the Code property.</param> public static PaymentInstrument CreatePaymentInstrument(global::System.Int32 code) { PaymentInstrument paymentInstrument = new PaymentInstrument(); paymentInstrument.Code = code; return paymentInstrument; }
/// <summary> /// Deprecated Method for adding a new object to the PaymentInstruments EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToPaymentInstruments(PaymentInstrument paymentInstrument) { base.AddObject("PaymentInstruments", paymentInstrument); }
public SalePaymentReportSummary(PaymentInstrument paymentInstrument) { PaymentInstrument = paymentInstrument; TotalAmount = TotalCount = 0; }