Package org.killbill.billing.payment.api
Interface PaymentTransaction
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description BigDecimalgetAmount()CurrencygetCurrency()org.joda.time.DateTimegetEffectiveDate()StringgetExternalKey()StringgetGatewayErrorCode()StringgetGatewayErrorMsg()UUIDgetPaymentId()PaymentTransactionInfoPlugingetPaymentInfoPlugin()This will only be filled when the call requires the details from the pluginBigDecimalgetProcessedAmount()CurrencygetProcessedCurrency()TransactionStatusgetTransactionStatus()TransactionTypegetTransactionType()-
Methods inherited from interface org.killbill.billing.util.entity.Entity
getCreatedDate, getId, getUpdatedDate
-
-
-
-
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
-
-