Package org.killbill.billing.jaxrs.json
Class PaymentAttemptJson
- java.lang.Object
-
- org.killbill.billing.jaxrs.json.JsonBase
-
- org.killbill.billing.jaxrs.json.PaymentAttemptJson
-
public class PaymentAttemptJson extends JsonBase
-
-
Constructor Summary
Constructors Constructor Description PaymentAttemptJson(UUID accountId, UUID paymentMethodId, String paymentExternalKey, UUID transactionId, String transactionExternalKey, TransactionType transactionType, org.joda.time.DateTime effectiveDate, String stateName, BigDecimal amount, Currency currency, String pluginName, List<PluginPropertyJson> pluginProperties, List<AuditLogJson> auditLogs)PaymentAttemptJson(PaymentAttempt paymentAttempt, String paymentExternalKey, List<AuditLog> attemptsLogs)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)UUIDgetAccountId()BigDecimalgetAmount()CurrencygetCurrency()org.joda.time.DateTimegetEffectiveDate()StringgetPaymentExternalKey()UUIDgetPaymentMethodId()StringgetPluginName()List<PluginPropertyJson>getPluginProperties()StringgetStateName()StringgetTransactionExternalKey()UUIDgetTransactionId()TransactionTypegetTransactionType()inthashCode()StringtoString()-
Methods inherited from class org.killbill.billing.jaxrs.json.JsonBase
getAuditLogs, propertiesToList, propertiesToMap, toAuditLogJson, toPluginPropertyJson, toString
-
-
-
-
Constructor Detail
-
PaymentAttemptJson
public PaymentAttemptJson(UUID accountId, UUID paymentMethodId, String paymentExternalKey, UUID transactionId, String transactionExternalKey, TransactionType transactionType, org.joda.time.DateTime effectiveDate, String stateName, BigDecimal amount, Currency currency, String pluginName, List<PluginPropertyJson> pluginProperties, @Nullable List<AuditLogJson> auditLogs)
-
PaymentAttemptJson
public PaymentAttemptJson(PaymentAttempt paymentAttempt, String paymentExternalKey, @Nullable List<AuditLog> attemptsLogs)
-
-
Method Detail
-
getAccountId
public UUID getAccountId()
-
getPaymentMethodId
public UUID getPaymentMethodId()
-
getPaymentExternalKey
public String getPaymentExternalKey()
-
getTransactionId
public UUID getTransactionId()
-
getTransactionExternalKey
public String getTransactionExternalKey()
-
getTransactionType
public TransactionType getTransactionType()
-
getEffectiveDate
public org.joda.time.DateTime getEffectiveDate()
-
getStateName
public String getStateName()
-
getAmount
public BigDecimal getAmount()
-
getCurrency
public Currency getCurrency()
-
getPluginName
public String getPluginName()
-
getPluginProperties
public List<PluginPropertyJson> getPluginProperties()
-
-