/// <summary> /// 支付付款单 /// </summary> /// <param name="entity"></param> public virtual PayItemInfo Pay(PayItemInfo entity, bool isForcePay) { IProcess processor = PayItemProcessFactory.Get(entity.OrderType.Value); return(processor.Pay(entity, isForcePay)); }
/// <summary> /// 锁定付款单 /// </summary> /// <param name="entity"></param> public virtual PayItemInfo Lock(PayItemInfo entity) { IProcess processor = PayItemProcessFactory.Get(entity.OrderType.Value); return(processor.Lock(entity)); }
/// <summary> /// 取消作废付款单 /// </summary> /// <param name="entity"></param> public virtual PayItemInfo CancelAbandon(PayItemInfo entity) { IProcess processor = PayItemProcessFactory.Get(entity.OrderType.Value); return(processor.CancelAbandon(entity)); }