Package org.killbill.billing.jaxrs.json
Class PaymentTransactionJson
- java.lang.Object
-
- org.killbill.billing.jaxrs.json.JsonBase
-
- org.killbill.billing.jaxrs.json.PaymentTransactionJson
-
- Direct Known Subclasses:
InvoicePaymentTransactionJson
public class PaymentTransactionJson extends JsonBase
-
-
Constructor Summary
Constructors Constructor Description PaymentTransactionJson(UUID transactionId, String transactionExternalKey, UUID paymentId, String paymentExternalKey, TransactionType transactionType, BigDecimal amount, Currency currency, org.joda.time.DateTime effectiveDate, BigDecimal processedAmount, Currency processedCurrency, String status, String gatewayErrorCode, String gatewayErrorMsg, String firstPaymentReferenceId, String secondPaymentReferenceId, List<PluginPropertyJson> properties, List<AuditLogJson> auditLogs)PaymentTransactionJson(PaymentTransaction transaction, String paymentExternalKey, List<AuditLog> transactionLogs)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)BigDecimalgetAmount()CurrencygetCurrency()org.joda.time.DateTimegetEffectiveDate()StringgetFirstPaymentReferenceId()StringgetGatewayErrorCode()StringgetGatewayErrorMsg()StringgetPaymentExternalKey()UUIDgetPaymentId()BigDecimalgetProcessedAmount()CurrencygetProcessedCurrency()List<PluginPropertyJson>getProperties()StringgetSecondPaymentReferenceId()StringgetStatus()StringgetTransactionExternalKey()UUIDgetTransactionId()TransactionTypegetTransactionType()inthashCode()StringtoString()-
Methods inherited from class org.killbill.billing.jaxrs.json.JsonBase
getAuditLogs, propertiesToList, propertiesToMap, toAuditLogJson, toPluginPropertyJson, toString
-
-
-
-
Constructor Detail
-
PaymentTransactionJson
public PaymentTransactionJson(UUID transactionId, String transactionExternalKey, UUID paymentId, String paymentExternalKey, TransactionType transactionType, BigDecimal amount, Currency currency, org.joda.time.DateTime effectiveDate, BigDecimal processedAmount, Currency processedCurrency, String status, String gatewayErrorCode, String gatewayErrorMsg, String firstPaymentReferenceId, String secondPaymentReferenceId, List<PluginPropertyJson> properties, @Nullable List<AuditLogJson> auditLogs)
-
PaymentTransactionJson
public PaymentTransactionJson(PaymentTransaction transaction, String paymentExternalKey, @Nullable List<AuditLog> transactionLogs)
-
-
Method Detail
-
getTransactionId
public UUID getTransactionId()
-
getPaymentId
public UUID getPaymentId()
-
getTransactionExternalKey
public String getTransactionExternalKey()
-
getTransactionType
public TransactionType getTransactionType()
-
getEffectiveDate
public org.joda.time.DateTime getEffectiveDate()
-
getStatus
public String getStatus()
-
getAmount
public BigDecimal getAmount()
-
getCurrency
public Currency getCurrency()
-
getGatewayErrorCode
public String getGatewayErrorCode()
-
getGatewayErrorMsg
public String getGatewayErrorMsg()
-
getFirstPaymentReferenceId
public String getFirstPaymentReferenceId()
-
getSecondPaymentReferenceId
public String getSecondPaymentReferenceId()
-
getProperties
public List<PluginPropertyJson> getProperties()
-
getPaymentExternalKey
public String getPaymentExternalKey()
-
getProcessedAmount
public BigDecimal getProcessedAmount()
-
getProcessedCurrency
public Currency getProcessedCurrency()
-
-