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

com.ebay.sdk.call.SellerReverseDisputeCall 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 com.ebay.sdk.*;
import com.ebay.soap.eBLBaseComponents.*;
/**
 * Wrapper class of the SellerReverseDispute 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 dispute that was returned when the dispute was created. * The dispute must be an Unpaid Item dispute that the seller opened. *
Input property: DisputeResolutionReason - The reason the dispute is being reversed. * * @author Ron Murphy * @version 1.0 */ public class SellerReverseDisputeCall extends com.ebay.sdk.ApiCall { private String disputeID = null; private DisputeResolutionReasonCodeType disputeResolutionReason = null; /** * Constructor. */ public SellerReverseDisputeCall() { } /** * Constructor. * @param apiContext The ApiContext object to be used to make the call. */ public SellerReverseDisputeCall(ApiContext apiContext) { super(apiContext); } /** * Enables a seller to "reverse" an Unpaid Item dispute that has been closed, for * example, if buyer and seller reach an agreement. The seller's Final Value Fee * credit and the buyer's strike are both reversed, if applicable. * The dispute might have resulted * in a strike to the buyer and a Final Value Fee credit to the seller. A buyer and * seller sometimes come to agreement after a dispute has been closed. In particular, * the seller might discover that the buyer actually paid, or the buyer might agree * to pay the seller's fees in exchange for having the strike removed. *

* A dispute can only be reversed if it was closed with DisputeActivity set to * SellerEndCommunication, CameToAgreementNeedFVFCredit, or * MutualAgreementOrNoBuyerResponse. * *
* @throws ApiException * @throws SdkException * @throws Exception * @return The SellerReverseDisputeResponseType object. */ public SellerReverseDisputeResponseType sellerReverseDispute() throws com.ebay.sdk.ApiException, com.ebay.sdk.SdkException, java.lang.Exception { SellerReverseDisputeRequestType req; req = new SellerReverseDisputeRequestType(); if (this.disputeID != null) req.setDisputeID(this.disputeID); if (this.disputeResolutionReason != null) req.setDisputeResolutionReason(this.disputeResolutionReason); SellerReverseDisputeResponseType resp = (SellerReverseDisputeResponseType) execute(req); return resp; } /** * Gets the SellerReverseDisputeRequestType.disputeID. * @return String */ public String getDisputeID() { return this.disputeID; } /** * Sets the SellerReverseDisputeRequestType.disputeID. * @param disputeID String */ public void setDisputeID(String disputeID) { this.disputeID = disputeID; } /** * Gets the SellerReverseDisputeRequestType.disputeResolutionReason. * @return DisputeResolutionReasonCodeType */ public DisputeResolutionReasonCodeType getDisputeResolutionReason() { return this.disputeResolutionReason; } /** * Sets the SellerReverseDisputeRequestType.disputeResolutionReason. * @param disputeResolutionReason DisputeResolutionReasonCodeType */ public void setDisputeResolutionReason(DisputeResolutionReasonCodeType disputeResolutionReason) { this.disputeResolutionReason = disputeResolutionReason; } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy