Changes since
the last release

com.ebay.sdk.call
Class AddOrderCall

java.lang.Object
  extended by com.ebay.sdk.ApiCall
      extended by com.ebay.sdk.call.AddOrderCall

public class AddOrderCall
extends ApiCall

Wrapper class of the AddOrder call of eBay SOAP API.

Title: SOAP API wrapper library.

Description: Contains wrapper classes for eBay SOAP APIs.

Copyright: Copyright (c) 2007

Company: eBay Inc.


Input property: Order - The order that is being created.
Output property: ReturnedOrderID - The unique identifier for the order.
Output property: ReturnedCreatedTime - The date and time the order was created.


Field Summary
 
Fields inherited from class com.ebay.sdk.ApiCall
apiException, fullCredentials, sendReqListeners
 
Constructor Summary
AddOrderCall()
          Constructor.
AddOrderCall(ApiContext apiContext)
          Constructor.
 
Method Summary
 AddOrderResponseType addOrder()
          Combines two or more transactions into a single order, enabling a buyer to pay for all of those transactions with a single payment (and, if so arranged, ship all of the items together).
 OrderType getOrder()
          Gets the AddOrderRequestType.order.
 Calendar getReturnedCreatedTime()
          Valid after executing the API.
 OrderIDType getReturnedOrderID()
          Valid after executing the API.
 void setOrder(OrderType order)
          Sets the AddOrderRequestType.order.
 
Methods inherited from class com.ebay.sdk.ApiCall
addDetailLevel, addSendRequestListener, execute, executeByApiName, getApiContext, getApiException, getCallRetry, getDetailLevel, getEnableCompression, getRequestXml, getResponseObject, getResponseXml, getSite, hasError, hasWarning, removeSendRequestListener, setApiContext, setCallRetry, setDetailLevel, setEnableCompression, setSite
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AddOrderCall

public AddOrderCall()
Constructor.


AddOrderCall

public AddOrderCall(ApiContext apiContext)
Constructor.

Parameters:
apiContext - The ApiContext object to be used to make the call.
Method Detail

addOrder

public AddOrderResponseType addOrder()
                              throws ApiException,
                                     SdkException,
                                     Exception
Combines two or more transactions into a single order, enabling a buyer to pay for all of those transactions with a single payment (and, if so arranged, ship all of the items together).

Strong recommendation: avoid mixing digital and non-digital listings in the same order. (In the future, AddOrder may enforce this recommendation.)

Returns:
The AddOrderResponseType object.
Throws:
ApiException
SdkException
Exception

getOrder

public OrderType getOrder()
Gets the AddOrderRequestType.order.

Returns:
OrderType

setOrder

public void setOrder(OrderType order)
Sets the AddOrderRequestType.order.

Parameters:
order - OrderType

getReturnedCreatedTime

public Calendar getReturnedCreatedTime()
Valid after executing the API. Gets the returned AddOrderResponseType.returnedCreatedTime.

Returns:
Calendar

getReturnedOrderID

public OrderIDType getReturnedOrderID()
Valid after executing the API. Gets the returned AddOrderResponseType.returnedOrderID.

Returns:
OrderIDType

Changes since
the last release

The information contained in this document is proprietary and confidential. Use of this information and the eBay API requires a Non-Disclosure Agreement (NDA) between the user and eBay Inc. For information regarding a qualifying NDA, contact Developer Relations:developer-relations@ebay.com
© 2004-2006 eBay Inc. All rights reserved.