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); }
abstract public string MakeHtmlForm(FlowOrder Order);