public class XPFPayment extends XPFEntity
Constructor and Description |
---|
XPFPayment(@NonNull String guid,
@NonNull Date transactionDate,
@NonNull XPFPaymentTransactionTypeEnum paymentTransactionType,
@NonNull XPFPaymentStatusEnum status,
@NonNull BigDecimal amount,
@NonNull Currency currency,
@NonNull XPFEntitySupplier<XPFPaymentInstrument> paymentInstrument,
@NonNull Map<String,String> paymentData) |
Modifier and Type | Method and Description |
---|---|
protected boolean |
canEqual(Object other) |
boolean |
equals(Object o) |
@NonNull BigDecimal |
getAmount()
The payment amount.
|
@NonNull Currency |
getCurrency()
The currency.
|
@NonNull String |
getGuid()
The guid.
|
@NonNull Map<String,String> |
getPaymentData()
The payment data.
|
XPFPaymentInstrument |
getPaymentInstrument()
Get payment instrument.
|
@NonNull XPFPaymentTransactionTypeEnum |
getPaymentTransactionType()
The transaction type.
|
@NonNull XPFPaymentStatusEnum |
getStatus()
The payment status.
|
@NonNull Date |
getTransactionDate()
The transaction date.
|
int |
hashCode() |
String |
toString() |
getCustomData
public XPFPayment(@NonNull @NonNull String guid, @NonNull @NonNull Date transactionDate, @NonNull @NonNull XPFPaymentTransactionTypeEnum paymentTransactionType, @NonNull @NonNull XPFPaymentStatusEnum status, @NonNull @NonNull BigDecimal amount, @NonNull @NonNull Currency currency, @NonNull @NonNull XPFEntitySupplier<XPFPaymentInstrument> paymentInstrument, @NonNull @NonNull Map<String,String> paymentData)
@LazyLoaded public XPFPaymentInstrument getPaymentInstrument()
@NonNull public @NonNull String getGuid()
@NonNull public @NonNull Date getTransactionDate()
@NonNull public @NonNull XPFPaymentTransactionTypeEnum getPaymentTransactionType()
@NonNull public @NonNull XPFPaymentStatusEnum getStatus()
@NonNull public @NonNull BigDecimal getAmount()
@NonNull public @NonNull Currency getCurrency()
Copyright © 2024. All rights reserved.