コード例 #1
0
        public void TestEcheckCreditAsync()
        {
            var echeckcredit = new echeckCredit
            {
                id          = "1",
                reportGroup = "Planets",
                amount      = 12L,
                cnpTxnId    = 123456789101112L,
            };

            CancellationToken cancellationToken = new CancellationToken(false);
            var response = _cnp.EcheckCreditAsync(echeckcredit, cancellationToken);

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