All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.ebay.sdk.call.AddDisputeResponseCall Maven / Gradle / Ivy

There is a newer version: 939.0.0
Show newest version
/*
Copyright (c) 2013 eBay, Inc.
This program is licensed under the terms of the eBay Common Development and
Distribution License (CDDL) Version 1.0 (the "License") and any subsequent  version 
thereof released by eBay.  The then-current version of the License can be found 
at http://www.opensource.org/licenses/cddl1.php and in the eBaySDKLicense file that 
is under the eBay SDK ../docs directory.
*/

package com.ebay.sdk.call;

import java.lang.String;
import java.util.Calendar;

import com.ebay.sdk.*;
import com.ebay.soap.eBLBaseComponents.*;
/**
 * Wrapper class of the AddDisputeResponse call of eBay SOAP API.
 * 
*

Title: SOAP API wrapper library.

*

Description: Contains wrapper classes for eBay SOAP APIs.

*

Copyright: Copyright (c) 2009

*

Company: eBay Inc.

*
Input property: DisputeID - The unique identifier of the eBay Unpaid Item case or PayPal INR dispute. This identifier is created by eBay or PayPal upon case/dispute creation. *
Input property: MessageText - The text of a comment or response being posted to the case/dispute. Required * when DisputeActivity is SellerAddInformation, SellerComment, or * SellerPaymentNotReceived. Otherwise, this field is optional. *
Input property: DisputeActivity - The type of activity the seller plans to take on the case/dispute. The allowed value is determined by the current state of the case/dispute and whether the seller is updating an Unpaid Item case or responding to a PayPal INR dispute. *
Input property: ShippingCarrierUsed - The shipping carrier used to ship the item in dispute. Non-alphanumeric * characters are not allowed. This field (along with ShipmentTrackNumber) is * required if the value of DisputeActivity is set to SellerShippedItem. *
Input property: ShipmentTrackNumber - The tracking number associated with one package of a shipment. The seller is * responsible for the accuracy of the shipment tracking number, as eBay only * verifies that the tracking number is consistent with the numbering scheme * used by the specified shipping carrier, but cannot verify the accuracy of * the tracking number. This field (along with ShippingCarrierUsed) is required * if the value of DisputeActivity is set to SellerShippedItem. *
Input property: ShippingTime - This timestamp indicates the date and time when the item under dispute was * shipped. This field is required if the value of DisputeActivity is set to SellerShippedItem. * * @author Ron Murphy * @version 1.0 */ public class AddDisputeResponseCall extends com.ebay.sdk.ApiCall { private String disputeID = null; private String messageText = null; private DisputeActivityCodeType disputeActivity = null; private String shippingCarrierUsed = null; private String shipmentTrackNumber = null; private Calendar shippingTime = null; /** * Constructor. */ public AddDisputeResponseCall() { } /** * Constructor. * @param apiContext The ApiContext object to be used to make the call. */ public AddDisputeResponseCall(ApiContext apiContext) { super(apiContext); } /** * This call enables the seller to respond to an Item Not Received (INR) dispute opened by a buyer through PayPal's Purchase Protection program, or to update an Unpaid Item case. To respond to a case opened by the buyer through eBay's Resolution Center, the seller should use the Resolution Case Management API, the Case Management calls of the Post-Order API, or manage the case through the eBay Resolution Center. * *
* @throws ApiException * @throws SdkException * @throws Exception * @return The AddDisputeResponseResponseType object. */ public AddDisputeResponseResponseType addDisputeResponse() throws com.ebay.sdk.ApiException, com.ebay.sdk.SdkException, java.lang.Exception { AddDisputeResponseRequestType req; req = new AddDisputeResponseRequestType(); if (this.disputeID != null) req.setDisputeID(this.disputeID); if (this.messageText != null) req.setMessageText(this.messageText); if (this.disputeActivity != null) req.setDisputeActivity(this.disputeActivity); if (this.shippingCarrierUsed != null) req.setShippingCarrierUsed(this.shippingCarrierUsed); if (this.shipmentTrackNumber != null) req.setShipmentTrackNumber(this.shipmentTrackNumber); if (this.shippingTime != null) req.setShippingTime(this.shippingTime); AddDisputeResponseResponseType resp = (AddDisputeResponseResponseType) execute(req); return resp; } /** * Gets the AddDisputeResponseRequestType.disputeActivity. * @return DisputeActivityCodeType */ public DisputeActivityCodeType getDisputeActivity() { return this.disputeActivity; } /** * Sets the AddDisputeResponseRequestType.disputeActivity. * @param disputeActivity DisputeActivityCodeType */ public void setDisputeActivity(DisputeActivityCodeType disputeActivity) { this.disputeActivity = disputeActivity; } /** * Gets the AddDisputeResponseRequestType.disputeID. * @return String */ public String getDisputeID() { return this.disputeID; } /** * Sets the AddDisputeResponseRequestType.disputeID. * @param disputeID String */ public void setDisputeID(String disputeID) { this.disputeID = disputeID; } /** * Gets the AddDisputeResponseRequestType.messageText. * @return String */ public String getMessageText() { return this.messageText; } /** * Sets the AddDisputeResponseRequestType.messageText. * @param messageText String */ public void setMessageText(String messageText) { this.messageText = messageText; } /** * Gets the AddDisputeResponseRequestType.shipmentTrackNumber. * @return String */ public String getShipmentTrackNumber() { return this.shipmentTrackNumber; } /** * Sets the AddDisputeResponseRequestType.shipmentTrackNumber. * @param shipmentTrackNumber String */ public void setShipmentTrackNumber(String shipmentTrackNumber) { this.shipmentTrackNumber = shipmentTrackNumber; } /** * Gets the AddDisputeResponseRequestType.shippingCarrierUsed. * @return String */ public String getShippingCarrierUsed() { return this.shippingCarrierUsed; } /** * Sets the AddDisputeResponseRequestType.shippingCarrierUsed. * @param shippingCarrierUsed String */ public void setShippingCarrierUsed(String shippingCarrierUsed) { this.shippingCarrierUsed = shippingCarrierUsed; } /** * Gets the AddDisputeResponseRequestType.shippingTime. * @return Calendar */ public Calendar getShippingTime() { return this.shippingTime; } /** * Sets the AddDisputeResponseRequestType.shippingTime. * @param shippingTime Calendar */ public void setShippingTime(Calendar shippingTime) { this.shippingTime = shippingTime; } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy