com.ebay.sdk.call.DisableUnpaidItemAssistanceCall Maven / Gradle / Ivy
/*
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 com.ebay.sdk.*;
import com.ebay.soap.eBLBaseComponents.*;
/**
* Wrapper class of the DisableUnpaidItemAssistance 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: ItemID
- Unique identifier for an eBay listing. A listing can have multiple order line items, but only one ItemID. To identify a specific order line item for which to disable the Unpaid Item Assistant mechanism, either an ItemID/TransactionID pair, an OrderLineItemID, or a DisputeID (if an Unpaid Item case already exists) is required in the request.
*
Input property: TransactionID
- The unique identifier of an order line item. An order line item is created once there is a commitment from a buyer to purchase an item. To identify a specific order line item for which to disable the Unpaid Item Assistant mechanism, either an ItemID/TransactionID pair, an OrderLineItemID, or a DisputeID (if an Unpaid Item case already exists) is required in the request.
*
Input property: DisputeID
- A unique identifier for an Unpaid Item case that is filed against an order line item. If an ItemID/TransactionID pair or an OrderLineItemID is used to identify an order line item, DisputeID cannot be used and will be ignored if it is included in the request.
*
Input property: OrderLineItemID
- OrderLineItemID is a unique identifier for an eBay order line item and is based upon the concatenation of ItemID and TransactionID, with a hyphen in between these two IDs. To identify a specific order line item for which to disable the Unpaid Item Assistant mechanism, either an ItemID/TransactionID pair, an OrderLineItemID, or a DisputeID is required in the request.
*
* @author Ron Murphy
* @version 1.0
*/
public class DisableUnpaidItemAssistanceCall extends com.ebay.sdk.ApiCall
{
private String itemID = null;
private String transactionID = null;
private String disputeID = null;
private String orderLineItemID = null;
/**
* Constructor.
*/
public DisableUnpaidItemAssistanceCall() {
}
/**
* Constructor.
* @param apiContext The ApiContext object to be used to make the call.
*/
public DisableUnpaidItemAssistanceCall(ApiContext apiContext) {
super(apiContext);
}
/**
* Enables a seller who has opted into the automated Unpaid Item Assistant mechanism to disable the Unpaid Item Assistant at the order line item level. This call can be made whether or not a Unpaid Item case exists for the order line item. If an Unpaid Item case has already been created by the Unpaid Item Assistant, it is converted to a "manual" case for the seller to manage like any other manually-created case.
*
*
* @throws ApiException
* @throws SdkException
* @throws Exception
* @return The void object.
*/
public void disableUnpaidItemAssistance()
throws com.ebay.sdk.ApiException, com.ebay.sdk.SdkException, java.lang.Exception
{
DisableUnpaidItemAssistanceRequestType req;
req = new DisableUnpaidItemAssistanceRequestType();
if (this.itemID != null)
req.setItemID(this.itemID);
if (this.transactionID != null)
req.setTransactionID(this.transactionID);
if (this.disputeID != null)
req.setDisputeID(this.disputeID);
if (this.orderLineItemID != null)
req.setOrderLineItemID(this.orderLineItemID);
DisableUnpaidItemAssistanceResponseType resp = (DisableUnpaidItemAssistanceResponseType) execute(req);
}
/**
* Gets the DisableUnpaidItemAssistanceRequestType.disputeID.
* @return String
*/
public String getDisputeID()
{
return this.disputeID;
}
/**
* Sets the DisableUnpaidItemAssistanceRequestType.disputeID.
* @param disputeID String
*/
public void setDisputeID(String disputeID)
{
this.disputeID = disputeID;
}
/**
* Gets the DisableUnpaidItemAssistanceRequestType.itemID.
* @return String
*/
public String getItemID()
{
return this.itemID;
}
/**
* Sets the DisableUnpaidItemAssistanceRequestType.itemID.
* @param itemID String
*/
public void setItemID(String itemID)
{
this.itemID = itemID;
}
/**
* Gets the DisableUnpaidItemAssistanceRequestType.orderLineItemID.
* @return String
*/
public String getOrderLineItemID()
{
return this.orderLineItemID;
}
/**
* Sets the DisableUnpaidItemAssistanceRequestType.orderLineItemID.
* @param orderLineItemID String
*/
public void setOrderLineItemID(String orderLineItemID)
{
this.orderLineItemID = orderLineItemID;
}
/**
* Gets the DisableUnpaidItemAssistanceRequestType.transactionID.
* @return String
*/
public String getTransactionID()
{
return this.transactionID;
}
/**
* Sets the DisableUnpaidItemAssistanceRequestType.transactionID.
* @param transactionID String
*/
public void setTransactionID(String transactionID)
{
this.transactionID = transactionID;
}
}