Esempio n. 1
0
        public bool Pay(FlowOrder Order)
        {
            var PaymentInfo = this.GetParameter();

            this._CurPaymentInfo = this._DBContext.FlowOrders.Where(x => x.FlowOrderNo == PaymentInfo.FlowOrderNo).First();
            this._CurPaymentInfo.PayTimeStamp = DateTime.Now;
            this._CurPaymentInfo.PayType      = PaymentInfo.PayType;
            this._CurPaymentInfo.PayAmount    = PaymentInfo.PayAmount;
            bool res = (this._CurPaymentInfo.PayAmount == this._CurPaymentInfo.Amount) && this._CurPaymentInfo.PayType == null;

            return(res);
        }
Esempio n. 2
0
 abstract public string MakeHtmlForm(FlowOrder Order);