Interface PaymentTransactionInfoPlugin
-
public interface PaymentTransactionInfoPlugin
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description BigDecimalgetAmount()org.joda.time.DateTimegetCreatedDate()CurrencygetCurrency()org.joda.time.DateTimegetEffectiveDate()StringgetFirstPaymentReferenceId()StringgetGatewayError()StringgetGatewayErrorCode()UUIDgetKbPaymentId()UUIDgetKbTransactionPaymentId()List<PluginProperty>getProperties()StringgetSecondPaymentReferenceId()PaymentPluginStatusgetStatus()TransactionTypegetTransactionType()The payment transaction type
-
-
-
Method Detail
-
getKbPaymentId
UUID getKbPaymentId()
- Returns:
- the id in Kill Bill
-
getKbTransactionPaymentId
UUID getKbTransactionPaymentId()
- Returns:
- the id in Kill Bill
-
getTransactionType
TransactionType getTransactionType()
The payment transaction type
-
getAmount
BigDecimal getAmount()
- Returns:
- processed amount
-
getCurrency
Currency getCurrency()
- Returns:
- processed currency
-
getCreatedDate
org.joda.time.DateTime getCreatedDate()
- Returns:
- date when the payment was created
-
getEffectiveDate
org.joda.time.DateTime getEffectiveDate()
- Returns:
- date when the payment is effective
-
getStatus
PaymentPluginStatus getStatus()
- Returns:
- payment status in the gateway
-
getGatewayError
String getGatewayError()
- Returns:
- gateway error, if any
-
getGatewayErrorCode
String getGatewayErrorCode()
- Returns:
- gateway error code, if any
-
getFirstPaymentReferenceId
String getFirstPaymentReferenceId()
- Returns:
- the first payment reference id
-
getSecondPaymentReferenceId
String getSecondPaymentReferenceId()
- Returns:
- the second payment reference id
-
getProperties
List<PluginProperty> getProperties()
- Returns:
- the list of custom properties set by the plugin
-
-