コード例 #1
0
        public static ProceedToCheckout VerifyNexPage()
        {
            switch (IsActive())
            {
            case "03. Address":
                _verify = new DeliveryAddressPage();
                break;

            case "04. Shipping":
                _verify = new ShoppingCart();
                break;

            case "01. Summary":
                _verify = new ShoppingCart();
                break;

            case "05. Payment":
                _verify = new PaymentPage();
                break;

            case "02. Sign in":
                _verify = new Authentication();
                break;

            default:
                return(null);
            }
            return(_verify);
        }
コード例 #2
0
 public static ProceedToCheckout ToCheckoutIsLogined()
 {
     if (IsLogined())
     {
         _verify = new DeliveryAddressPage();
     }
     else
     {
         _verify = new Authentication();
     }
     return(_verify);
 }