Package com.six.timapi
Class Counter
- java.lang.Object
-
- com.six.timapi.Counter
-
public class Counter extends Object
Contains information about a counter for a brand. Immutable class.
-
-
Constructor Summary
Constructors Constructor Description Counter(String brandName, PaymentProtocol paymentProtocol, CardProductType cardProductType, long acqId, int count, int countDcc, int countForeign, List<Total> totals)
Create counter.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description long
getAcqId()
Acquirer identifier.String
getBrandName()
Name of brand the counter contains information for.CardProductType
getCardProductType()
Card product type or null.int
getCount()
Total number of transactions.int
getCountDcc()
Number of DCC related transactions.int
getCountForeign()
Number of foreign currency related transactions.PaymentProtocol
getPaymentProtocol()
Payment protocol linked to the brand.List<Total>
getTotals()
Number of totals to break down the counter amount in more detail.String
toString()
String representation for debugging purpose.
-
-
-
Constructor Detail
-
Counter
public Counter(String brandName, PaymentProtocol paymentProtocol, CardProductType cardProductType, long acqId, int count, int countDcc, int countForeign, List<Total> totals)
Create counter.
-
-
Method Detail
-
getBrandName
public String getBrandName()
Name of brand the counter contains information for.
-
getPaymentProtocol
public PaymentProtocol getPaymentProtocol()
Payment protocol linked to the brand.
-
getCardProductType
public CardProductType getCardProductType()
Card product type or null.
-
getAcqId
public long getAcqId()
Acquirer identifier. Uniquely identifies the acquirer.
-
getCount
public int getCount()
Total number of transactions.
-
getCountDcc
public int getCountDcc()
Number of DCC related transactions.
-
getCountForeign
public int getCountForeign()
Number of foreign currency related transactions.
-
getTotals
public List<Total> getTotals()
Number of totals to break down the counter amount in more detail.
-
-