コード例 #1
0
        public void PaymentFullCapture()
        {
            // TODO uncomment below to test the method and replace null with proper value
            string orderToken = null;

            var authorization = authorizationApi.AuthorizationCreateToken();

            orderToken = "001.u0hglki77ko70iuavgnb31vo2qq4ehold53brkdngfj9l73f";

            var capture = new CaptureFull(orderToken, "Capture for Order");

            var captureResponse = instance.PaymentFullCapture(capture);

            Assert.IsInstanceOf <Payment>(captureResponse, "response is Payment");
        }