Changes since
the last release

com.ebay.sdk.call
Class VerifyAddSecondChanceItemCall

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

public class VerifyAddSecondChanceItemCall
extends ApiCall

Wrapper class of the VerifyAddSecondChanceItem 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: RecipientBidderUserID - Specifies the bidder from the original, ended listing to whom the seller is extending the second chance offer. Specify only one RecipientBidderUserID per call. If multiple users are specified (each in a RecipientBidderUserID node), only the last one specified receives the offer.
Input property: BuyItNowPrice - Specifies the amount the offer recipient must pay to purchase the item from the Second Chance Offer listing. Use only when the original item was an eBay Motors (or in some categories on U.S. and international sites for high-priced items, such as items in many U.S. and Canada Business and Industrial categories) and it ended unsold because the reserve price was not met. Call fails with an error for any other item conditions.
Input property: Duration - Specifies the length of time the Second Chance Offer listing will be active. The recipient bidder has that much time to purchase the item or the listing expires.
Input property: ItemID - This field is used to identify the recently-ended auction listing for which a Second Chance Offer will be made to one of the non-winning bidders on the recently-ended auction listing.
Input property: SellerMessage - Message content. Cannot contain HTML, asterisks, or quotes. This content is included in the Second Chance Offer email sent to the recipient, which can be retrieved with GetMyMessages.
Output property: ReturnedStartTime - Indicates the date and time when the the new Second Chance Offer listing became active and the recipient user could purchase the item.
Output property: ReturnedEndTime - Indicates the date and time when the Second Chance Offer listing expires, at which time the listing ends (if the recipient user does not purchase the item first).

Version:
1.0
Author:
Ron Murphy

Field Summary
 
Fields inherited from class com.ebay.sdk.ApiCall
apiException, sendReqListeners
 
Constructor Summary
VerifyAddSecondChanceItemCall()
          Constructor.
VerifyAddSecondChanceItemCall(ApiContext apiContext)
          Constructor.
 
Method Summary
 AmountType getBuyItNowPrice()
          Gets the VerifyAddSecondChanceItemRequestType.buyItNowPrice.
 SecondChanceOfferDurationCodeType getDuration()
          Gets the VerifyAddSecondChanceItemRequestType.duration.
 java.lang.String getItemID()
          Gets the VerifyAddSecondChanceItemRequestType.itemID.
 java.lang.String getRecipientBidderUserID()
          Gets the VerifyAddSecondChanceItemRequestType.recipientBidderUserID.
 java.util.Calendar getReturnedEndTime()
          Valid after executing the API.
 java.util.Calendar getReturnedStartTime()
          Valid after executing the API.
 java.lang.String getSellerMessage()
          Gets the VerifyAddSecondChanceItemRequestType.sellerMessage.
 void setBuyItNowPrice(AmountType buyItNowPrice)
          Sets the VerifyAddSecondChanceItemRequestType.buyItNowPrice.
 void setDuration(SecondChanceOfferDurationCodeType duration)
          Sets the VerifyAddSecondChanceItemRequestType.duration.
 void setItemID(java.lang.String itemID)
          Sets the VerifyAddSecondChanceItemRequestType.itemID.
 void setRecipientBidderUserID(java.lang.String recipientBidderUserID)
          Sets the VerifyAddSecondChanceItemRequestType.recipientBidderUserID.
 void setSellerMessage(java.lang.String sellerMessage)
          Sets the VerifyAddSecondChanceItemRequestType.sellerMessage.
 VerifyAddSecondChanceItemResponseType verifyAddSecondChanceItem()
          Simulates the creation of a new Second Chance Offer listing of an item without actually creating a listing.
 
Methods inherited from class com.ebay.sdk.ApiCall
addDetailLevel, addSendRequestListener, execute, executeByApiName, getApiContext, getApiException, getBotBlock, getCallRetry, getDetailLevel, getEnableCompression, getEndUserIP, getErrorHandling, getInvocationID, getMessageID, getOutputSelector, getRequestXml, getResponseObject, getResponseXml, getSite, getWarningLevel, hasError, hasWarning, isEnableoAuthTokenHTTPHeader, removeSendRequestListener, setApiContext, setBotBlock, setCallRetry, setDetailLevel, setEnableCompression, setEnableoAuthTokenHTTPHeader, setEndUserIP, setErrorHandling, setInvocationID, setMessageID, setOutputSelector, setSite, setWarningLevel
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

VerifyAddSecondChanceItemCall

public VerifyAddSecondChanceItemCall()
Constructor.


VerifyAddSecondChanceItemCall

public VerifyAddSecondChanceItemCall(ApiContext apiContext)
Constructor.

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

verifyAddSecondChanceItem

public VerifyAddSecondChanceItemResponseType verifyAddSecondChanceItem()
                                                                throws ApiException,
                                                                       SdkException,
                                                                       java.lang.Exception
Simulates the creation of a new Second Chance Offer listing of an item without actually creating a listing.

Returns:
The VerifyAddSecondChanceItemResponseType object.
Throws:
ApiException
SdkException
java.lang.Exception

getBuyItNowPrice

public AmountType getBuyItNowPrice()
Gets the VerifyAddSecondChanceItemRequestType.buyItNowPrice.

Returns:
AmountType

setBuyItNowPrice

public void setBuyItNowPrice(AmountType buyItNowPrice)
Sets the VerifyAddSecondChanceItemRequestType.buyItNowPrice.

Parameters:
buyItNowPrice - AmountType

getDuration

public SecondChanceOfferDurationCodeType getDuration()
Gets the VerifyAddSecondChanceItemRequestType.duration.

Returns:
SecondChanceOfferDurationCodeType

setDuration

public void setDuration(SecondChanceOfferDurationCodeType duration)
Sets the VerifyAddSecondChanceItemRequestType.duration.

Parameters:
duration - SecondChanceOfferDurationCodeType

getItemID

public java.lang.String getItemID()
Gets the VerifyAddSecondChanceItemRequestType.itemID.

Returns:
String

setItemID

public void setItemID(java.lang.String itemID)
Sets the VerifyAddSecondChanceItemRequestType.itemID.

Parameters:
itemID - String

getRecipientBidderUserID

public java.lang.String getRecipientBidderUserID()
Gets the VerifyAddSecondChanceItemRequestType.recipientBidderUserID.

Returns:
String

setRecipientBidderUserID

public void setRecipientBidderUserID(java.lang.String recipientBidderUserID)
Sets the VerifyAddSecondChanceItemRequestType.recipientBidderUserID.

Parameters:
recipientBidderUserID - String

getSellerMessage

public java.lang.String getSellerMessage()
Gets the VerifyAddSecondChanceItemRequestType.sellerMessage.

Returns:
String

setSellerMessage

public void setSellerMessage(java.lang.String sellerMessage)
Sets the VerifyAddSecondChanceItemRequestType.sellerMessage.

Parameters:
sellerMessage - String

getReturnedEndTime

public java.util.Calendar getReturnedEndTime()
Valid after executing the API. Gets the returned VerifyAddSecondChanceItemResponseType.returnedEndTime.

Returns:
Calendar

getReturnedStartTime

public java.util.Calendar getReturnedStartTime()
Valid after executing the API. Gets the returned VerifyAddSecondChanceItemResponseType.returnedStartTime.

Returns:
Calendar

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-2009 eBay Inc. All rights reserved.