public static SetOrderReferenceDetailsResponse SetOrderReferenceDetails(OffAmazonPaymentsServicePropertyCollection propertiesCollection,
                                                                                IOffAmazonPaymentsService service, string orderReferenceId, string orderAmount)
        {
            SetOrderReferenceDetailsRequest setOrderRequest = new SetOrderReferenceDetailsRequest();

            setOrderRequest.SellerId = propertiesCollection.MerchantID;
            setOrderRequest.AmazonOrderReferenceId = orderReferenceId;
            //setup the currency and amount as an ordertotal object
            OrderReferenceAttributes attributes = new OrderReferenceAttributes();
            OrderTotal orderTotal = new OrderTotal();

            orderTotal.Amount       = orderAmount;
            orderTotal.CurrencyCode = propertiesCollection.CurrencyCode;
            attributes.OrderTotal   = orderTotal;
            setOrderRequest.OrderReferenceAttributes = attributes;
            return(SetOrderReferenceDetailsSample.InvokeSetOrderReferenceDetails(service, setOrderRequest));
        }
 //Invoke the SetOrderReferenceDetails method
 public SetOrderReferenceDetailsResponse SetOrderReferenceDetails(string orderAmount)
 {
     return(SetOrderReferenceDetailsSample.SetOrderReferenceDetails(propertiesCollection, service, orderReferenceId, orderAmount));
 }