public override void Process()
        {
            EpayFactory epayFactory = new EpayFactory();
            Epay        epay        = epayFactory.CreatEpay("PayPal");

            epay.Process();
            //处理支付宝平台
            epay = epayFactory.CreatEpay("AliPay");
            epay.Process();
        }
        public Epay CreatEpay(string epayType)
        {
            Epay epay = null;

            switch (epayType)
            {
            case "Paypal": epay = new PayPal();
                break;

            case "Alipay": epay = new Alipay();
                break;

            default: break;
            }

            return(epay);
        }