Class ReconciliationItem


  • public class ReconciliationItem
    extends Object
    A class to represent a line item from the reconciliation file.
    Since:
    4.0.0.
    • Field Detail

      • HEADING_RECEIPT_NUMBER_NAME

        public static final String HEADING_RECEIPT_NUMBER_NAME
        The receipt number column name in the reconciliation file
        See Also:
        Constant Field Values
      • HEADING_PAYMENT_AMOUNT_NAME

        public static final String HEADING_PAYMENT_AMOUNT_NAME
        The payment amount column name in the reconciliation file
        See Also:
        Constant Field Values
      • HEADING_KEY_NAME

        public static final String HEADING_KEY_NAME
        The key column name in the reconciliation file
        See Also:
        Constant Field Values
      • HEADING_TRANSACTION_CODE_NAME

        public static final String HEADING_TRANSACTION_CODE_NAME
        The transaction code column name in the reconciliation file
        See Also:
        Constant Field Values
      • HEADING_TRANSACTION_DESCRIPTION_NAME

        public static final String HEADING_TRANSACTION_DESCRIPTION_NAME
        The transaction description column name in the reconciliation file
        See Also:
        Constant Field Values
      • HEADING_CARD_TYPE_NAME

        public static final String HEADING_CARD_TYPE_NAME
        The card type column name in the reconciliation file
        See Also:
        Constant Field Values
      • HEADING_TRANSACTION_TIME_NAME

        public static final String HEADING_TRANSACTION_TIME_NAME
        The transaction time column name in the reconciliation file
        See Also:
        Constant Field Values
      • HEADING_TRANSACTION_TIMESTAMP_NAME

        public static final String HEADING_TRANSACTION_TIMESTAMP_NAME
        The transaction timestamp column name in the reconciliation file
        See Also:
        Constant Field Values
      • HEADING_TRANSACTION_DATE_NAME

        public static final String HEADING_TRANSACTION_DATE_NAME
        The transaction date column name in the reconciliation file
        See Also:
        Constant Field Values
      • HEADING_SETTLEMENT_DATE_NAME

        public static final String HEADING_SETTLEMENT_DATE_NAME
        The settlement date column name in the reconciliation file
        See Also:
        Constant Field Values
      • TRANSACTON_DATETIME_FORMAT_NAME

        public static final String TRANSACTON_DATETIME_FORMAT_NAME
        The transaction datetime format in the reconciliation file
        See Also:
        Constant Field Values
      • RECONCILIATION_DATETIME_FORMAT_NAME

        public static final String RECONCILIATION_DATETIME_FORMAT_NAME
        The reconciliation datetime format in the reconciliation file
        See Also:
        Constant Field Values
      • RECONCILIATION_DATE_FORMAT_NAME

        public static final String RECONCILIATION_DATE_FORMAT_NAME
        The reconciliation date component format in the reconciliation file
        See Also:
        Constant Field Values
      • RECONCILIATION_TIME_FORMAT_NAME

        public static final String RECONCILIATION_TIME_FORMAT_NAME
        The reconciliation time component format in the reconciliation file
        See Also:
        Constant Field Values
    • Constructor Detail

      • ReconciliationItem

        public ReconciliationItem​(CsvReader reader,
                                  Map<String,​Object> csvConfig)
                           throws ParseException,
                                  IOException
        Object constructor, read in the values from the reconciliation file.
        Parameters:
        reader - the reader
        csvConfig - the reconciliation configuration map
        Throws:
        ParseException - the parse exception
        IOException - Signals that an I/O exception has occurred.
    • Method Detail

      • getParameters

        public Map<String,​String> getParameters()
        Returns the values for this reconciliation line item.
        Returns:
        the name value map
      • getTransactionTime

        public Date getTransactionTime()
                                throws ParseException
        Returns the transaction time for this reconciliation item.
        Returns:
        the date object
        Throws:
        ParseException - the parse exception
      • getTransactionTimeString

        public String getTransactionTimeString()
                                        throws ParseException
        Returns the transaction time as a formatted string.
        Returns:
        the date string
        Throws:
        ParseException - the parse exception
      • getPaymentAmount

        public String getPaymentAmount()
        Returns the amount of the transaction.
        Returns:
        the amount string
      • getSettlementDate

        public String getSettlementDate()
        Returns the settlement date for the transaction.
        Returns:
        the settlement date string
      • getReceiptNumber

        public String getReceiptNumber()
        Returns the receipt number for the transaction.
        Returns:
        the receipt number string
      • getKey

        public String getKey()
        Returns the key for the transaction.
        Returns:
        the key string
      • getTransactionCode

        public String getTransactionCode()
        Returns the transaction code for the transaction.
        Returns:
        the transaction code string
      • getTransactionDescription

        public String getTransactionDescription()
        Returns the transaction description for the transaction.
        Returns:
        the transaction description
      • getCardType

        public String getCardType()
        Returns the card type for the transaction.
        Returns:
        the card type