public class SignatureCredential extends Object implements ICredential
SignatureCredential encapsulates signature credential
information used by service authentication systems| Constructor and Description |
|---|
SignatureCredential(String userName,
String password,
String signature)
Signature Credential
|
| Modifier and Type | Method and Description |
|---|---|
String |
getApplicationId() |
String |
getPassword() |
String |
getSignature() |
ThirdPartyAuthorization |
getThirdPartyAuthorization() |
String |
getUserName() |
void |
setApplicationId(String applicationId) |
void |
setThirdPartyAuthorization(ThirdPartyAuthorization thirdPartyAuthorization)
Sets any instance of
ThirdPartyAuthorization. |
public String getApplicationId()
public void setApplicationId(String applicationId)
applicationId - the applicationId to set, ignored for MERCHANT APIspublic ThirdPartyAuthorization getThirdPartyAuthorization()
public void setThirdPartyAuthorization(ThirdPartyAuthorization thirdPartyAuthorization)
ThirdPartyAuthorization. Can be an Instance
of TokenAuthorization or SubjectAuthorization.
SubjectAuthorization is used in MERCHANT APIsthirdPartyAuthorization - the thirdPartyAuthorization to setpublic String getUserName()
public String getPassword()
public String getSignature()
Copyright © 2016. All Rights Reserved.