Package money.zumo.zumokit
Class TransactionCardProperties
- java.lang.Object
-
- money.zumo.zumokit.TransactionCardProperties
-
public final class TransactionCardProperties extends java.lang.ObjectRecord containing properties associated with a card transaction.- See Also:
Transaction
-
-
Constructor Summary
Constructors Constructor Description TransactionCardProperties(java.lang.String cardId, java.math.BigDecimal transactionAmount, java.lang.String transactionCurrency, java.math.BigDecimal billingAmount, java.lang.String billingCurrency, java.math.BigDecimal exchangeRateValue, java.lang.String mcc, java.lang.String merchantName, java.lang.String merchantCountry)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object obj)java.math.BigDecimalgetBillingAmount()Billing amount.java.lang.StringgetBillingCurrency()Billing currency code.java.lang.StringgetCardId()Card identifier.java.math.BigDecimalgetExchangeRateValue()Exchange rate applied to any conversion between transaction & billing amount rounded to 6 decimal places.java.lang.StringgetMcc()The Merchant Category Code (MCC) for the card activity in ISO-18245 format if available.java.lang.StringgetMerchantCountry()The 3 letter ISO 3166 merchant country code if available.java.lang.StringgetMerchantName()The merchant name if available.java.math.BigDecimalgetTransactionAmount()Transaction amount.java.lang.StringgetTransactionCurrency()Transaction currency code.inthashCode()java.lang.StringtoString()
-
-
-
Constructor Detail
-
TransactionCardProperties
public TransactionCardProperties(java.lang.String cardId, java.math.BigDecimal transactionAmount, java.lang.String transactionCurrency, java.math.BigDecimal billingAmount, java.lang.String billingCurrency, java.math.BigDecimal exchangeRateValue, java.lang.String mcc, java.lang.String merchantName, java.lang.String merchantCountry)
-
-
Method Detail
-
getCardId
public java.lang.String getCardId()
Card identifier.- See Also:
Card
-
getTransactionAmount
public java.math.BigDecimal getTransactionAmount()
Transaction amount.
-
getTransactionCurrency
public java.lang.String getTransactionCurrency()
Transaction currency code.- See Also:
CurrencyCode
-
getBillingAmount
public java.math.BigDecimal getBillingAmount()
Billing amount.
-
getBillingCurrency
public java.lang.String getBillingCurrency()
Billing currency code.- See Also:
CurrencyCode
-
getExchangeRateValue
public java.math.BigDecimal getExchangeRateValue()
Exchange rate applied to any conversion between transaction & billing amount rounded to 6 decimal places.
-
getMcc
public java.lang.String getMcc()
The Merchant Category Code (MCC) for the card activity in ISO-18245 format if available.
-
getMerchantName
public java.lang.String getMerchantName()
The merchant name if available.
-
getMerchantCountry
public java.lang.String getMerchantCountry()
The 3 letter ISO 3166 merchant country code if available.
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equalsin classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-