Interface PaymentTransaction

  • All Superinterfaces:
    Entity

    public interface PaymentTransaction
    extends Entity
    • Method Detail

      • getPaymentId

        UUID getPaymentId()
        Returns:
        the id of the payment.
      • getExternalKey

        String getExternalKey()
        Returns:
        the external key
      • getTransactionType

        TransactionType getTransactionType()
        Returns:
        the type of transaction
      • getEffectiveDate

        org.joda.time.DateTime getEffectiveDate()
        Returns:
        the effective date of the payment
      • getAmount

        BigDecimal getAmount()
        Returns:
        the amount
      • getCurrency

        Currency getCurrency()
        Returns:
        the currency associated with that payment
      • getProcessedAmount

        BigDecimal getProcessedAmount()
        Returns:
        the processed amount
      • getProcessedCurrency

        Currency getProcessedCurrency()
        Returns:
        the real currency used by the plugin
      • getGatewayErrorCode

        String getGatewayErrorCode()
        Returns:
        the error code from the gateway
      • getGatewayErrorMsg

        String getGatewayErrorMsg()
        Returns:
        the error message from the gateway
      • getTransactionStatus

        TransactionStatus getTransactionStatus()
        Returns:
        the status for that transaction
      • getPaymentInfoPlugin

        PaymentTransactionInfoPlugin getPaymentInfoPlugin()
        This will only be filled when the call requires the details from the plugin
        Returns:
        the additional info from the plugin