Interface Payment

  • All Superinterfaces:
    Entity

    public interface Payment
    extends Entity
    • Method Detail

      • getAccountId

        UUID getAccountId()
        Returns:
        the account id
      • getPaymentMethodId

        UUID getPaymentMethodId()
        Returns:
        the payment method id
      • getPaymentNumber

        Integer getPaymentNumber()
        Returns:
        the payment number
      • getExternalKey

        String getExternalKey()
        Returns:
        the external key
      • getAuthAmount

        BigDecimal getAuthAmount()
        Returns:
        the authorized amount
      • getCapturedAmount

        BigDecimal getCapturedAmount()
        Returns:
        the captured amount
      • getPurchasedAmount

        BigDecimal getPurchasedAmount()
        Returns:
        the purchased amount
      • getCreditedAmount

        BigDecimal getCreditedAmount()
        Returns:
        the credited amount
      • getRefundedAmount

        BigDecimal getRefundedAmount()
        Returns:
        the refunded amount
      • isAuthVoided

        Boolean isAuthVoided()
        Returns:
        true if there was a void operation following an authorization
      • getCurrency

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

        List<PaymentAttempt> getPaymentAttempts()
        Returns:
        the list of Payment attempts (past and future)