Class TransactionResponse

    • Method Detail

      • getTransactionType

        public TransactionType getTransactionType()
        Transaction type.
      • getAmount

        public Amount getAmount()
        Amount authorized by the transaction.
      • getAmountOther

        public Amount getAmountOther()
        Amount other authorized by the transaction.
      • getAmountDue

        public Amount getAmountDue()
        Due amount in the transaction.
      • getAmountDcc

        public AmountDcc getAmountDcc()
        DCC amount authorized by the transaction if present.
      • getAmountSaldo

        public Amount getAmountSaldo()
        Saldo amount if present.
      • getTransactionInformation

        public TransactionInformation getTransactionInformation()
        Information about completed transaction.
      • getDccDisclaimer

        public String getDccDisclaimer()
        Disclaimer sent by host.
      • getCardData

        public CardData getCardData()
        Information about payment card used by the cardholder if present.
      • getPrintData

        public PrintData getPrintData()
        Print information for merchant and cardholder receipts.
      • getAmountTip

        public Amount getAmountTip()
        Tip amount. This parameter is only used if Guides.GASTRO is enabled.
      • getAdditionalInfo

        public Map<Long,​String> getAdditionalInfo()
        Additional information list.
      • getBasket

        public Basket getBasket()
        Petrol: Basket.
      • getLoyaltyCashbackAmount

        public Amount getLoyaltyCashbackAmount()
        Loyalty cashback amounr.
      • getAmountSurcharge

        public Amount getAmountSurcharge()
        Surcharge amount or null;
      • wasDcc

        public boolean wasDcc()
        Transaction has been using DCC.
      • wasTip

        public boolean wasTip()
        Transaction has been using TIP.
      • wasPartialApproval

        public boolean wasPartialApproval()
        Transaction has been partially approved.
      • cardCountryCode

        public Integer cardCountryCode()
        Card country code if present.
      • terminalCountryCode

        public Integer terminalCountryCode()
        Terminal country code if present.
      • isDomestic

        public boolean isDomestic()
        Determines if transaction has been domestic. Returns true if card country code and terminal country code are both set and are equal.
      • toString

        public String toString()
        String representation for debugging purpose.
        Overrides:
        toString in class Object