private void BtnAddDisputeResponse_Click(object sender, System.EventArgs e)
        {
            try
            {
                TxtStatus.Text = "";

                AddDisputeResponseCall apicall = new AddDisputeResponseCall(Context);

                if (TxtShippingCarrier.Enabled)
                {
                    apicall.ShippingCarrierUsed = TxtShippingCarrier.Text;
                    apicall.ShipmentTrackNumber = TxtShipmentTrackNumber.Text;
                    apicall.ShippingTime        = ShippingTimePick.Value;
                }

                apicall.AddDisputeResponse(TxtDisputeId.Text, TxtMessage.Text, (DisputeActivityCodeType)Enum.Parse(typeof(DisputeActivityCodeType), CboActivity.SelectedItem.ToString()));

                TxtStatus.Text = apicall.ApiResponse.Ack.ToString();
            }
            catch (Exception ex)
            {
                MessageBox.Show(ex.Message);
            }
        }
        public void AddDisputeResponse()
        {
            AddDisputeResponseCall api = new AddDisputeResponseCall(this.apiContext);

            api.DisputeActivity     = DisputeActivityCodeType.SellerShippedItem;
            api.ShipmentTrackNumber = "0000-1111";
            api.ShippingCarrierUsed = "UPS";
            System.DateTime calTo = DateTime.Now;
            api.ShippingTime = calTo;
            api.DisputeID    = "Test";
            api.MessageText  = "SDK test dispute response";
            // Make API call.
            ApiException gotException = null;

            try
            {
                api.Execute();
            }
            catch (ApiException ex)
            {
                gotException = ex;
            }
            Assert.IsNotNull(gotException);
        }