public static CloseOrderReferenceResponse CloseOrderReference(OffAmazonPaymentsServicePropertyCollection propertiesCollection,
                                                                      IOffAmazonPaymentsService service, string orderReferenceId)
        {
            CloseOrderReferenceRequest request = new CloseOrderReferenceRequest();

            request.AmazonOrderReferenceId = orderReferenceId;
            request.SellerId = propertiesCollection.MerchantID;

            return(CloseOrderReferenceSample.InvokeCloseOrderReference(service, request));
        }
 //Invoke the CloseOrderReference method
 public CloseOrderReferenceResponse CloseOrderReference()
 {
     return(CloseOrderReferenceSample.CloseOrderReference(propertiesCollection, service, orderReferenceId));
 }