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

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

Go to download

This SDK enables you to use Java to make API calls in the eBay Trading API, which is an XML API. This maven build is provided by tonicsoft for convenience and is an exact copy of version 981 of the project distributed by eBay via the official eBay SDK website.

The 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 root directory at /LICENSE.txt.
*/

package com.ebay.sdk.call;


import com.ebay.sdk.*;
import com.ebay.soap.eBLBaseComponents.*;
/**
 * Wrapper class of the GetDispute 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 an seller-initiated dispute. The caller passes in this value to retrieve detailed information on a specific dispute. *

* Note: * Buyer-initiated Money Back Guarantee cases are not supported with this call. To retrieve and manage eBay Money Back Guarantee cases, the Case Management calls of the Post-Order API can be used instead. * *
Output property: ReturnedDispute - If the dispute that is specified in the call request is found, this Dispute container is returned in the response. This container includes detailed information about the dispute, the buyer and seller user IDs, and information on the listing that is associated with the dispute. * * @author Ron Murphy * @version 1.0 */ public class GetDisputeCall extends com.ebay.sdk.ApiCall { private String disputeID = null; private DisputeType returnedDispute=null; /** * Constructor. */ public GetDisputeCall() { } /** * Constructor. * @param apiContext The ApiContext object to be used to make the call. */ public GetDisputeCall(ApiContext apiContext) { super(apiContext); } /** * This is the base request type for the GetDispute call. This call retrieves the details of a seller-initiated dispute. Seller-initiated disputes include mutually-cancelled transactions and unpaid items. *

* Note: * This call does not support buyer-initiated cases created through eBay's Resolution Center. Buyer-initiated cases include Item Not Received (INR) and Significantly Not As Described (SNAD) cases. To retrieve and manage eBay Money Back Guarantee cases, the Case Management calls of the Post-Order API can be used instead. * * *
* @throws ApiException * @throws SdkException * @throws Exception * @return The DisputeType object. */ public DisputeType getDispute() throws com.ebay.sdk.ApiException, com.ebay.sdk.SdkException, java.lang.Exception { GetDisputeRequestType req; req = new GetDisputeRequestType(); req.setDetailLevel(this.getDetailLevel()); if (this.disputeID != null) req.setDisputeID(this.disputeID); GetDisputeResponseType resp = (GetDisputeResponseType) execute(req); this.returnedDispute = resp.getDispute(); return this.getReturnedDispute(); } /** * Gets the GetDisputeRequestType.disputeID. * @return String */ public String getDisputeID() { return this.disputeID; } /** * Sets the GetDisputeRequestType.disputeID. * @param disputeID String */ public void setDisputeID(String disputeID) { this.disputeID = disputeID; } /** * Valid after executing the API. * Gets the returned GetDisputeResponseType.returnedDispute. * * @return DisputeType */ public DisputeType getReturnedDispute() { return this.returnedDispute; } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy