Example #1
0
        /// <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));
        }
Example #2
0
        /// <summary>
        /// 锁定付款单
        /// </summary>
        /// <param name="entity"></param>
        public virtual PayItemInfo Lock(PayItemInfo entity)
        {
            IProcess processor = PayItemProcessFactory.Get(entity.OrderType.Value);

            return(processor.Lock(entity));
        }
Example #3
0
        /// <summary>
        /// 取消作废付款单
        /// </summary>
        /// <param name="entity"></param>
        public virtual PayItemInfo CancelAbandon(PayItemInfo entity)
        {
            IProcess processor = PayItemProcessFactory.Get(entity.OrderType.Value);

            return(processor.CancelAbandon(entity));
        }