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 longgetAcqId()Acquirer identifier.StringgetBrandName()Name of brand the counter contains information for.CardProductTypegetCardProductType()Card product type or null.intgetCount()Total number of transactions.intgetCountDcc()Number of DCC related transactions.intgetCountForeign()Number of foreign currency related transactions.PaymentProtocolgetPaymentProtocol()Payment protocol linked to the brand.List<Total>getTotals()Number of totals to break down the counter amount in more detail.StringtoString()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.
-
-