コード例 #1
0
        public void TestAuthReversalAsync()
        {
            var reversal = new authReversal
            {
                id          = "1",
                reportGroup = "Planets",
                cnpTxnId    = 12345678000L,
                amount      = 106,
                payPalNotes = "<'&\">"
            };

            CancellationToken cancellationToken = new CancellationToken(false);
            var response = _cnp.AuthReversalAsync(reversal, cancellationToken);

            Assert.AreEqual("000", response.Result.response);
        }