示例#1
0
文件: Model.cs 项目: prix79/B4U_POS
 /// <summary>
 /// Removes the pre authentication.
 /// </summary>
 /// <param name="payment">The payment.</param>
 public void RemovePreAuth(POSPayment payment)
 {
     if (PreAuths.Remove(payment))
     {
         OnPreAuthChanged(payment, PreAuthAction.REMOVED);
     }
 }
示例#2
0
文件: Model.cs 项目: prix79/B4U_POS
 /// <summary>
 /// Called when [pre authentication changed].
 /// </summary>
 /// <param name="payment">The payment.</param>
 /// <param name="action">The action.</param>
 protected void OnPreAuthChanged(POSPayment payment, PreAuthAction action)
 {
     if (PreAuthListChange != null)
     {
         PreAuthListChange(payment, action);
     }
 }
示例#3
0
文件: Model.cs 项目: prix79/B4U_POS
 /// <summary>
 /// Adds the payment.
 /// </summary>
 /// <param name="payment">The payment.</param>
 public void AddPayment(POSPayment payment)
 {
     Payments.Add(payment);
     onOrderChange(this, OrderChangeTarget.PAYMENT);
 }
示例#4
0
文件: Model.cs 项目: prix79/B4U_POS
 /// <summary>
 /// Adds the pre authentication.
 /// </summary>
 /// <param name="payment">The payment.</param>
 public void AddPreAuth(POSPayment payment)
 {
     PreAuths.Add(payment);
     OnPreAuthChanged(payment, PreAuthAction.ADDED);
 }