public class AdminCredentials extends Object implements Credentials
| Modifier and Type | Field and Description |
|---|---|
private static String |
NAME_POSTFIX |
private String |
password |
private String |
username |
| Constructor and Description |
|---|
AdminCredentials(String username,
String password) |
| Modifier and Type | Method and Description |
|---|---|
String |
getSellerId()
Returns sellerId.
|
String |
toAuthentication()
Returns Base64 based authentication.
|
private static final String NAME_POSTFIX
private String username
private String password
public String toAuthentication()
CredentialstoAuthentication in interface CredentialsStringpublic String getSellerId()
CredentialsgetSellerId in interface CredentialsString of format {sellerCountry}{sellerCorporateID}, otherwise
returns null if current credentials doesn't work work with sellerId.Copyright © 2022. All rights reserved.