com.paypal.base.credential
Class SignatureCredential
java.lang.Object
com.paypal.base.credential.SignatureCredential
- All Implemented Interfaces:
- ICredential
public class SignatureCredential
- extends Object
- implements ICredential
SignatureCredential encapsulates signature credential
information used by service authentication systems
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SignatureCredential
public SignatureCredential(String userName,
String password,
String signature)
- Signature Credential
- Parameters:
userName - UserNamepassword - Passwordsignature - Signature
getApplicationId
public String getApplicationId()
- Returns:
- the applicationId
setApplicationId
public void setApplicationId(String applicationId)
- Parameters:
applicationId - the applicationId to set, ignored for MERCHANT APIs
getThirdPartyAuthorization
public ThirdPartyAuthorization getThirdPartyAuthorization()
- Returns:
- the thirdPartyAuthorization
setThirdPartyAuthorization
public void setThirdPartyAuthorization(ThirdPartyAuthorization thirdPartyAuthorization)
- Sets any instance of
ThirdPartyAuthorization. Can be an Instance
of TokenAuthorization or SubjectAuthorization.
SubjectAuthorization is used in MERCHANT APIs
- Parameters:
thirdPartyAuthorization - the thirdPartyAuthorization to set
getUserName
public String getUserName()
- Returns:
- the userName
getPassword
public String getPassword()
- Returns:
- the password
getSignature
public String getSignature()
- Returns:
- the signature
Copyright © 2015. All Rights Reserved.