public static BComLnpOrderResponse CancelTN(string order_id)
        {
            // Create an HTTPS_ Interface.
            HTTPS_Interface httpsInterface = new HTTPS_Interface();

            // Create Cancel Request
            BComLnpCancelRequest request = new BComLnpCancelRequest();

            // Load the request.
            request.OrderId = order_id;

            // Make a copy of the requests raw xml.
            //this.requestXML = request.ToXml();

            // Send the request and get the response.
            BComLnpOrderResponse response =
                httpsInterface.CancelOrder(request);

            // Return the response.
            return(response);
        }
Example #2
0
 public BComLnpOrderResponse CancelOrder(BComLnpCancelRequest request)
 {
     return(new HTTPS_Interface().CancelOrder(request));
 }