Package org.killbill.billing.payment.api
Interface Payment
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description UUIDgetAccountId()BigDecimalgetAuthAmount()BigDecimalgetCapturedAmount()BigDecimalgetCreditedAmount()CurrencygetCurrency()StringgetExternalKey()List<PaymentAttempt>getPaymentAttempts()UUIDgetPaymentMethodId()IntegergetPaymentNumber()BigDecimalgetPurchasedAmount()BigDecimalgetRefundedAmount()List<PaymentTransaction>getTransactions()BooleanisAuthVoided()-
Methods inherited from interface org.killbill.billing.util.entity.Entity
getCreatedDate, getId, getUpdatedDate
-
-
-
-
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
-
getTransactions
List<PaymentTransaction> getTransactions()
- Returns:
- the list of attempts on that payment
-
getPaymentAttempts
List<PaymentAttempt> getPaymentAttempts()
- Returns:
- the list of Payment attempts (past and future)
-
-