Class TransactionCardProperties


  • public final class TransactionCardProperties
    extends java.lang.Object
    Record 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
      boolean equals​(java.lang.Object obj)  
      java.math.BigDecimal getBillingAmount()
      Billing amount.
      java.lang.String getBillingCurrency()
      Billing currency code.
      java.lang.String getCardId()
      Card identifier.
      java.math.BigDecimal getExchangeRateValue()
      Exchange rate applied to any conversion between transaction & billing amount rounded to 6 decimal places.
      java.lang.String getMcc()
      The Merchant Category Code (MCC) for the card activity in ISO-18245 format if available.
      java.lang.String getMerchantCountry()
      The 3 letter ISO 3166 merchant country code if available.
      java.lang.String getMerchantName()
      The merchant name if available.
      java.math.BigDecimal getTransactionAmount()
      Transaction amount.
      java.lang.String getTransactionCurrency()
      Transaction currency code.
      int hashCode()  
      java.lang.String toString()  
      • Methods inherited from class java.lang.Object

        getClass, notify, notifyAll, wait, wait, wait
    • 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:
        equals in class java.lang.Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object