@Entity public abstract class BasePayment extends DirectTransaction
Transaction.TransactionCustomizerstatus, transaction| Constructor and Description |
|---|
BasePayment() |
| Modifier and Type | Method and Description |
|---|---|
java.util.List<TransactionAuthorization> |
getAuthorizations() |
TransactionAuthorizationStatus |
getAuthorizationStatus() |
TransactionFeedback |
getFeedback() |
java.lang.Boolean |
getFeedbackExpirationNotified() |
java.lang.Boolean |
getFeedbackExpirationReminderNotified() |
java.lang.Boolean |
getFeedbackReminderNotified() |
AuthorizationLevel |
getNextAuthorizationLevel() |
PaymentRequest |
getPaymentRequest() |
PaymentTransferType |
getPaymentType() |
java.util.Date |
getProcessDate()
Returns the date the transaction was actually processed
|
Operator |
getReceivedBy()
Returns the operator who received the payment, it could be in the following two cases:
When an operator receives a payment via POS (logged at the moment of receive a payment). When some other member pays directly to an operator, instead of the owner member. Otherwise it returns null. |
boolean |
isAuthorized()
Returns true if the transaction doesn't require authorization or is already authorized.
|
boolean |
isPendingAuthorization()
Returns whether this transaction is in a pending authorization status
|
boolean |
isReceived() |
void |
setAuthorizations(java.util.List<TransactionAuthorization> authorizations) |
void |
setAuthorizationStatus(TransactionAuthorizationStatus authorizationStatus) |
void |
setFeedback(TransactionFeedback feedback) |
void |
setFeedbackExpirationNotified(java.lang.Boolean feedbackExpirationNotified) |
void |
setFeedbackExpirationReminderNotified(java.lang.Boolean feedbackExpirationReminderNotified) |
void |
setFeedbackReminderNotified(java.lang.Boolean feedbackReminderNotified) |
void |
setNextAuthorizationLevel(AuthorizationLevel nextAuthorizationLevel) |
void |
setPaymentRequest(PaymentRequest paymentRequest) |
void |
setPaymentType(PaymentTransferType type) |
void |
setReceived(boolean received) |
void |
setReceivedBy(Operator receivedBy) |
void |
setType(TransferType type) |
getDestinationAccountLocator, getSourceAccountLocatorgetToOwnergetAccessClient, getActualBy, getAmount, getBy, getChannel, getCurrency, getCurrencyAmount, getCustomFieldClass, getCustomFieldValueClass, getCustomValues, getDate, getDescription, getFromName, getFromOwner, getFromUser, getLocation, getNature, getNetwork, getPrincipalType, getToName, getToUser, getTransactionNumber, getTransactionNumberRef, getType, isFromSystem, isFromUser, isToSystem, isToUser, setAccessClient, setAmount, setBy, setBySelf, setChannel, setCustomValues, setDate, setDescription, setFromName, setFromOwner, setPrincipalType, setToName, setToOwner, setTransactionNumberRefisGlobalclone, equals, getId, getId, getIds, getUniqueIds, getUniqueIds, hashCode, isPersistent, isTransient, toStringpublic java.util.List<TransactionAuthorization> getAuthorizations()
public TransactionAuthorizationStatus getAuthorizationStatus()
public TransactionFeedback getFeedback()
public java.lang.Boolean getFeedbackExpirationNotified()
public java.lang.Boolean getFeedbackExpirationReminderNotified()
public java.lang.Boolean getFeedbackReminderNotified()
public AuthorizationLevel getNextAuthorizationLevel()
public PaymentRequest getPaymentRequest()
public PaymentTransferType getPaymentType()
public java.util.Date getProcessDate()
TransactiongetProcessDate in class Transactionpublic Operator getReceivedBy()
public boolean isAuthorized()
public boolean isPendingAuthorization()
public boolean isReceived()
public void setAuthorizations(java.util.List<TransactionAuthorization> authorizations)
public void setAuthorizationStatus(TransactionAuthorizationStatus authorizationStatus)
public void setFeedback(TransactionFeedback feedback)
public void setFeedbackExpirationNotified(java.lang.Boolean feedbackExpirationNotified)
public void setFeedbackExpirationReminderNotified(java.lang.Boolean feedbackExpirationReminderNotified)
public void setFeedbackReminderNotified(java.lang.Boolean feedbackReminderNotified)
public void setNextAuthorizationLevel(AuthorizationLevel nextAuthorizationLevel)
public void setPaymentRequest(PaymentRequest paymentRequest)
public void setPaymentType(PaymentTransferType type)
public void setReceived(boolean received)
public void setReceivedBy(Operator receivedBy)
public void setType(TransferType type)
setType in class Transaction