예제 #1
0
        public async Task <OkObjectResult> BackTrans(string txnAmt, string orderId)
        {
            var request = new BackTransRequest();

            request.AddParameters(new BackTransModel
            {
                TxnAmt  = txnAmt,
                OrderId = orderId,
            }, StringCase.Camel);
            return(Ok(await _client.ExecuteAsync(request)));
        }
예제 #2
0
 public BackTransResponse(BackTransRequest request)
 {
     Html = request.ToForm(request.RequestUrl);
 }