コード例 #1
0
ファイル: CartTest.cs プロジェクト: tomochandv/Test
        public void PaymentVerificationTest(BasketInputParamT reqBasketInputParam)
        {
            CartBiz biz = new CartBiz();
            ValidCheckResultT result = new ValidCheckResultT();
            result.Result = new GEPBaseResultT();
            BasketParamT basket = new BasketParamT();
            basket.Pbid = "1AF6EDB9-DD31-4B64-BEAE-3AF9D28BC89A";
            basket.OrderIdxs = "1100066150|1100066152|1100066159|1100066161";

            result = biz.PaymentOptionVerification(basket);
            Console.WriteLine("주문 Verification 결과 : " +result.Result.RetCode);
            for (int i = 0, cnt = result.ValidCheckList.Count; i < cnt; i++)
            {
                Console.WriteLine(result.ValidCheckList[i].OrderIdx + "::" + result.ValidCheckList[i].RetCode);
            }
        }