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

com.ebay.sdk.call.ReviseSellingManagerSaleRecordCall 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 com.ebay.sdk.*;
import com.ebay.soap.eBLBaseComponents.*;
/**
 * Wrapper class of the ReviseSellingManagerSaleRecord 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 item listing. A listing can have multiple * order line items (transactions), but only one ItemID. An ItemID can be * paired up with a corresponding TransactionID and used as an input filter * for ReviseSellingManagerSaleRecord. The ItemID/TransactionID pair * corresponds to a Selling Manager SaleRecordID, which can be retrieved * with the GetSellingManagerSaleRecord call. *

* Unless an OrderLineItemID is used to identify a single line item order, * or the OrderID is used to identify a single or multiple line item * (Combined Invoice) order, the ItemID/TransactionID pair must be * specified. For a multiple line item (Combined Invoice) order, OrderID * should be used. If OrderID or OrderLineItemID are specified, the * ItemID/TransactionID pair is ignored if present in the same request. *
Input property: TransactionID - Unique identifier for an eBay order line item (transaction). An order * line item is created once there is a commitment from a buyer to purchase * an item. Since an auction listing can only have one order line item * during the duration of the listing, the TransactionID for * auction listings is always 0. Along with its corresponding ItemID, a * TransactionID is used and referenced during an order checkout flow and * after checkout has been completed. The ItemID/TransactionID pair can be * used as an input filter for ReviseSellingManagerSaleRecord. The * ItemID/TransactionID pair corresponds to a Selling Manager SaleRecordID, * which can be retrieved with the GetSellingManagerSaleRecord call. *

* Unless an OrderLineItemID is used to identify a single line item order, * or the OrderID is used to identify a single or multiple line item * (Combined Invoice) order, the ItemID/TransactionID pair must be * specified. For a multiple line item (Combined Invoice) order, OrderID * must be used. If OrderID or OrderLineItemID are specified, the * ItemID/TransactionID pair is ignored if present in the same request. *
Input property: OrderID - A unique identifier that identifies a single line item or multiple line * item (Combined Invoice) order. *

* For a single line item order, the OrderID value is identical to the * OrderLineItemID value that is generated upon creation of the order line * item. For a Combined Invoice order, the OrderID value is created by eBay * when the buyer or seller (sharing multiple, common order line items) * combines multiple order line items into a Combined Invoice order through * the eBay site. A Combined Invoice order can also be created by the * seller through the AddOrder call. The OrderID can be used as an input * filter for ReviseSellingManagerSaleRecord. The OrderID * is linked to a Selling Manager SaleRecordID, and can be retrieved * with the GetSellingManagerSaleRecord call. *

* OrderID overrides an OrderLineItemID or ItemID/TransactionID pair if * these fields are also specified in the same request. *
Input property: SellingManagerSoldOrder - Container consisting of order costs, shipping details, order status, and * other information. The changes made under this container will update the * order in Selling Manager. *
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. For a single line item order, the * OrderLineItemID value can be passed into the OrderID field to revise the * order in Selling Manager. *

* Unless an ItemID/TransactionID pair is used to identify a single line * item order, or the OrderID is used to identify a single or multiple line * item (Combined Invoice) order, the OrderLineItemID must be specified. * For a multiple line item (Combined Invoice) order, OrderID should be * used. If OrderLineItemID is specified, the ItemID/TransactionID pair are * ignored if present in the same request. * * @author Ron Murphy * @version 1.0 */ public class ReviseSellingManagerSaleRecordCall extends com.ebay.sdk.ApiCall { private String itemID = null; private String transactionID = null; private String orderID = null; private SellingManagerSoldOrderType sellingManagerSoldOrder = null; private String orderLineItemID = null; /** * Constructor. */ public ReviseSellingManagerSaleRecordCall() { } /** * Constructor. * @param apiContext The ApiContext object to be used to make the call. */ public ReviseSellingManagerSaleRecordCall(ApiContext apiContext) { super(apiContext); } /** * Enables sellers, who subscribe to Selling Manager Pro, to revise a Selling Manager sale record. * *
* @throws ApiException * @throws SdkException * @throws Exception * @return The void object. */ public void reviseSellingManagerSaleRecord() throws com.ebay.sdk.ApiException, com.ebay.sdk.SdkException, java.lang.Exception { ReviseSellingManagerSaleRecordRequestType req; req = new ReviseSellingManagerSaleRecordRequestType(); if (this.itemID != null) req.setItemID(this.itemID); if (this.transactionID != null) req.setTransactionID(this.transactionID); if (this.orderID != null) req.setOrderID(this.orderID); if (this.sellingManagerSoldOrder != null) req.setSellingManagerSoldOrder(this.sellingManagerSoldOrder); if (this.orderLineItemID != null) req.setOrderLineItemID(this.orderLineItemID); ReviseSellingManagerSaleRecordResponseType resp = (ReviseSellingManagerSaleRecordResponseType) execute(req); } /** * Gets the ReviseSellingManagerSaleRecordRequestType.itemID. * @return String */ public String getItemID() { return this.itemID; } /** * Sets the ReviseSellingManagerSaleRecordRequestType.itemID. * @param itemID String */ public void setItemID(String itemID) { this.itemID = itemID; } /** * Gets the ReviseSellingManagerSaleRecordRequestType.orderID. * @return String */ public String getOrderID() { return this.orderID; } /** * Sets the ReviseSellingManagerSaleRecordRequestType.orderID. * @param orderID String */ public void setOrderID(String orderID) { this.orderID = orderID; } /** * Gets the ReviseSellingManagerSaleRecordRequestType.orderLineItemID. * @return String */ public String getOrderLineItemID() { return this.orderLineItemID; } /** * Sets the ReviseSellingManagerSaleRecordRequestType.orderLineItemID. * @param orderLineItemID String */ public void setOrderLineItemID(String orderLineItemID) { this.orderLineItemID = orderLineItemID; } /** * Gets the ReviseSellingManagerSaleRecordRequestType.sellingManagerSoldOrder. * @return SellingManagerSoldOrderType */ public SellingManagerSoldOrderType getSellingManagerSoldOrder() { return this.sellingManagerSoldOrder; } /** * Sets the ReviseSellingManagerSaleRecordRequestType.sellingManagerSoldOrder. * @param sellingManagerSoldOrder SellingManagerSoldOrderType */ public void setSellingManagerSoldOrder(SellingManagerSoldOrderType sellingManagerSoldOrder) { this.sellingManagerSoldOrder = sellingManagerSoldOrder; } /** * Gets the ReviseSellingManagerSaleRecordRequestType.transactionID. * @return String */ public String getTransactionID() { return this.transactionID; } /** * Sets the ReviseSellingManagerSaleRecordRequestType.transactionID. * @param transactionID String */ public void setTransactionID(String transactionID) { this.transactionID = transactionID; } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy