public class Brands extends Object
Terminal.login()
or Terminal.loginAsync()
has been performed or brands
have been manually retrieved by Terminal.applicationInformation()
or
Terminal.applicationInformationAsync()
.
Immutable class.Constructor and Description |
---|
Brands(String name,
boolean dccAvailable,
PaymentProtocol paymentProtocol,
int acqId,
TimeDate lastInitDate,
List<Application> applications,
List<CurrencyItem> currencies)
Create brand.
|
Modifier and Type | Method and Description |
---|---|
int |
getAcqId()
Acquirer identifier.
|
List<Application> |
getApplications()
List of applications supported by the brand.
|
List<CurrencyItem> |
getCurrencies()
List of currencies supported by the brand.
|
TimeDate |
getLastInitDate()
Last time a defined acquirer was successfully initialized on the terminal.
|
String |
getName()
Brand name of a card.
|
PaymentProtocol |
getPaymentProtocol()
Payment protocol used.
|
boolean |
isDccAvailable()
DCC is available for this brand.
|
String |
toString()
String representation for debugging purpose.
|
public Brands(String name, boolean dccAvailable, PaymentProtocol paymentProtocol, int acqId, TimeDate lastInitDate, List<Application> applications, List<CurrencyItem> currencies)
public String getName()
public boolean isDccAvailable()
public PaymentProtocol getPaymentProtocol()
public int getAcqId()
public TimeDate getLastInitDate()
public List<Application> getApplications()
public List<CurrencyItem> getCurrencies()