public class TreasurerCredentials extends SellerCredentials
Modifier and Type | Field and Description |
---|---|
private String |
cashRegisterName |
private static String |
NAME_POSTFIX |
private String |
password |
private String |
username |
corporateId, country
Constructor and Description |
---|
TreasurerCredentials(String username,
String country,
String corporateId,
String password) |
TreasurerCredentials(String username,
String country,
String corporateId,
String cashRegisterName,
String password) |
Modifier and Type | Method and Description |
---|---|
String |
getCashRegisterName() |
String |
getPassword() |
String |
getUsername() |
void |
setCashRegisterName(String cashRegisterName) |
void |
setPassword(String password) |
void |
setUsername(String username) |
String |
toAuthentication()
Returns authentication
String . |
getCorporateId, getCountry, getSellerId
private static final String NAME_POSTFIX
private String username
private String cashRegisterName
private String password
public TreasurerCredentials(String username, String country, String corporateId, String password)
public String getUsername()
public void setUsername(String username)
public String getPassword()
public void setPassword(String password)
public String getCashRegisterName()
public void setCashRegisterName(String cashRegisterName)
public String toAuthentication()
String
.toAuthentication
in interface Credentials
toAuthentication
in class SellerCredentials
String
of format:
{username}{sellerId}/cashRegisterName:{password}Copyright © 2015. All rights reserved.