|
Changes since the last release |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.ebay.sdk.ApiCall
com.ebay.sdk.call.AddSecondChanceItemCall
public class AddSecondChanceItemCall
Wrapper class of the AddSecondChanceItem 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.
RecipientBidderUserID
- This field is used to specify the bidder that is being offered the Second Chance Offer. The eBay User ID of the bidder is used in this field. Specify only one RecipientBidderUserID per call. If multiple users are specified, only the last one specified receives the offer.
BuyItNowPrice
- The amount the offer recipient must pay to purchase the item as a Second Chance Offer. This field should only be used when the original item was listed in an eBay Motors vehicle category (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. Otherwise, eBay establishes the price and no price should be submitted. The price offered to the Second Chance Offer recipient is generally the highest bid that the user made on the original listing.
Duration
- This enumeration value indicates the length of time (in days) that the Second Chance Offer will be available to the recipient. Upon receiving the Second Chance Offer, the recipient bidder will have this many days to accept the offer before the offer expires. One of the values in SecondChanceOfferDurationCodeType must be used.
ItemID
- This field is used to identify the original auction listing through its unique identifier (Item ID). Upon a successful call, the Second Chance Offer will be identified by a new ItemID in the response.
SellerMessage
- This optional field is used to provide a message to the recipient of the Second Chance Offer. This message cannot contain HTML, asterisks, or quotes. The content in this field will be included in the Second Chance Offer email that is sent to the recipient.
ReturnedItemID
- This field contains the Item ID for the Second Chance Offer that was just created with the AddSecondChanceItem call. Note that this Item ID will be different from the Item ID in the original auction listing that was passed in the request.
ReturnedStartTime
- This timestamp indicates the date and time when the Second Chance Offer became available to the recipient.
ReturnedEndTime
- This timestamp indicates the date and time when the Second Chance Offer listing will expire, at which time the recipient will no longer be able to purchase the item.
Field Summary |
---|
Fields inherited from class com.ebay.sdk.ApiCall |
---|
apiException, sendReqListeners |
Constructor Summary | |
---|---|
AddSecondChanceItemCall()
Constructor. |
|
AddSecondChanceItemCall(ApiContext apiContext)
Constructor. |
Method Summary | |
---|---|
String |
addSecondChanceItem()
Used by the seller of an auction listing to provide a Second Chance Offer to one of that auction item's non-winning bidders. |
AmountType |
getBuyItNowPrice()
Gets the AddSecondChanceItemRequestType.buyItNowPrice. |
SecondChanceOfferDurationCodeType |
getDuration()
Gets the AddSecondChanceItemRequestType.duration. |
String |
getItemID()
Gets the AddSecondChanceItemRequestType.itemID. |
String |
getRecipientBidderUserID()
Gets the AddSecondChanceItemRequestType.recipientBidderUserID. |
Calendar |
getReturnedEndTime()
Valid after executing the API. |
String |
getReturnedItemID()
Valid after executing the API. |
Calendar |
getReturnedStartTime()
Valid after executing the API. |
String |
getSellerMessage()
Gets the AddSecondChanceItemRequestType.sellerMessage. |
void |
setBuyItNowPrice(AmountType buyItNowPrice)
Sets the AddSecondChanceItemRequestType.buyItNowPrice. |
void |
setDuration(SecondChanceOfferDurationCodeType duration)
Sets the AddSecondChanceItemRequestType.duration. |
void |
setItemID(String itemID)
Sets the AddSecondChanceItemRequestType.itemID. |
void |
setRecipientBidderUserID(String recipientBidderUserID)
Sets the AddSecondChanceItemRequestType.recipientBidderUserID. |
void |
setSellerMessage(String sellerMessage)
Sets the AddSecondChanceItemRequestType.sellerMessage. |
void |
verifyAddSecondChanceItem()
Executes VerifyAddSecondChanceItem API. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public AddSecondChanceItemCall()
public AddSecondChanceItemCall(ApiContext apiContext)
apiContext
- The ApiContext object to be used to make the call.Method Detail |
---|
public String addSecondChanceItem() throws ApiException, SdkException, Exception
ApiException
SdkException
Exception
public AmountType getBuyItNowPrice()
public void setBuyItNowPrice(AmountType buyItNowPrice)
buyItNowPrice
- AmountTypepublic SecondChanceOfferDurationCodeType getDuration()
public void setDuration(SecondChanceOfferDurationCodeType duration)
duration
- SecondChanceOfferDurationCodeTypepublic String getItemID()
public void setItemID(String itemID)
itemID
- Stringpublic String getRecipientBidderUserID()
public void setRecipientBidderUserID(String recipientBidderUserID)
recipientBidderUserID
- Stringpublic String getSellerMessage()
public void setSellerMessage(String sellerMessage)
sellerMessage
- Stringpublic void verifyAddSecondChanceItem() throws ApiException, SdkException, Exception
ApiException
SdkException
Exception
public Calendar getReturnedEndTime()
public String getReturnedItemID()
public Calendar getReturnedStartTime()
|
Changes since the last release |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
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.