|
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.ApiCredential
public class ApiCredential
Defines credentials to be used for making eBay API call. Set either
eBay token (seteBayToken()) or ApiAccount plus eBayAccount since
they are exclusive to each other.
View UML diagram of the class.
Title:
Description:
Copyright: Copyright (c) 2004
Company: eBay Inc.
| Field Summary | |
|---|---|
protected EventListenerList |
listenerList
|
| Constructor Summary | |
|---|---|
ApiCredential()
Constructor. |
|
| Method Summary | |
|---|---|
void |
addTokenEventListener(TokenEventListener l)
Add listener for token renewal event. |
ApiAccount |
getApiAccount()
Get the ApiAccount to use. |
eBayAccount |
geteBayAccount()
Get the eBay auction account to use. |
String |
geteBayToken()
Get the eBay token string. |
void |
removeTokenEventListener(TokenEventListener l)
Remove listener for token renewal event. |
void |
setApiAccount(ApiAccount apiAccount)
Set the ApiAccount to use. |
void |
seteBayAccount(eBayAccount ebayAccount)
Set the eBay auction account to use. |
void |
seteBayToken(String eBayToken)
Set the eBay token string. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected EventListenerList listenerList
| Constructor Detail |
|---|
public ApiCredential()
| Method Detail |
|---|
public void addTokenEventListener(TokenEventListener l)
l - TokenEventListenerpublic void removeTokenEventListener(TokenEventListener l)
l - TokenEventListenerpublic ApiAccount getApiAccount()
public void setApiAccount(ApiAccount apiAccount)
apiAccount - the ApiAccount instance to be set to.public eBayAccount geteBayAccount()
public void seteBayAccount(eBayAccount ebayAccount)
ebayAccount - the eBayAccount to be set to.public String geteBayToken()
public void seteBayToken(String eBayToken)
eBayToken - The eBay token string to be set to.
|
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-2006 eBay Inc. All rights reserved.