public class PaymentJson extends JsonBase
| Constructor and Description |
|---|
PaymentJson(Payment dp,
AccountAuditLogs accountAuditLogs) |
PaymentJson(UUID accountId,
UUID paymentId,
String paymentNumber,
String paymentExternalKey,
BigDecimal authAmount,
BigDecimal capturedAmount,
BigDecimal purchasedAmount,
BigDecimal refundedAmount,
BigDecimal creditedAmount,
Currency currency,
UUID paymentMethodId,
List<? extends PaymentTransactionJson> transactions,
List<PaymentAttemptJson> paymentAttempts,
List<AuditLogJson> auditLogs) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
UUID |
getAccountId() |
BigDecimal |
getAuthAmount() |
BigDecimal |
getCapturedAmount() |
BigDecimal |
getCreditedAmount() |
Currency |
getCurrency() |
List<? extends PaymentAttemptJson> |
getPaymentAttempts() |
String |
getPaymentExternalKey() |
UUID |
getPaymentId() |
UUID |
getPaymentMethodId() |
String |
getPaymentNumber() |
BigDecimal |
getPurchasedAmount() |
BigDecimal |
getRefundedAmount() |
List<? extends PaymentTransactionJson> |
getTransactions() |
int |
hashCode() |
String |
toString() |
getAuditLogs, propertiesToList, propertiesToMap, toAuditLogJson, toPluginPropertyJson, toStringpublic PaymentJson(UUID accountId, UUID paymentId, String paymentNumber, String paymentExternalKey, BigDecimal authAmount, BigDecimal capturedAmount, BigDecimal purchasedAmount, BigDecimal refundedAmount, BigDecimal creditedAmount, Currency currency, UUID paymentMethodId, List<? extends PaymentTransactionJson> transactions, List<PaymentAttemptJson> paymentAttempts, @Nullable List<AuditLogJson> auditLogs)
public PaymentJson(Payment dp, @Nullable AccountAuditLogs accountAuditLogs)
public UUID getAccountId()
public UUID getPaymentId()
public String getPaymentNumber()
public String getPaymentExternalKey()
public BigDecimal getAuthAmount()
public BigDecimal getCapturedAmount()
public BigDecimal getRefundedAmount()
public BigDecimal getPurchasedAmount()
public BigDecimal getCreditedAmount()
public Currency getCurrency()
public UUID getPaymentMethodId()
public List<? extends PaymentTransactionJson> getTransactions()
public List<? extends PaymentAttemptJson> getPaymentAttempts()
Copyright © 2010–2022. All rights reserved.