@Entity public abstract class BasePayment extends DirectTransaction
authorizationStatus, authorizationType, showToReceiver, status, transaction| Constructor and Description |
|---|
BasePayment() |
| Modifier and Type | Method and Description |
|---|---|
java.util.List<TransactionAuthorization> |
getAuthorizations() |
TransactionAuthorizationStatus |
getAuthorizationStatus() |
TransactionAuthorizationType |
getAuthorizationType() |
BasicUser |
getDestinationUser()
If this payment was received by an operator, returns it.
|
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). |
BasicUser |
getSourceUser()
If this payment was performed by an operator, returns it.
|
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 |
setAuthorizationType(TransactionAuthorizationType authorizationType) |
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) |
doGetActualAmount, getDestinationAccountLocator, getSourceAccountLocatorgetToOwnergetAccessClient, getActualAmount, getActualBy, getAmount, getBy, getChannel, getCurrency, getCurrencyAmount, getCustomFieldClass, getCustomFieldValueClass, getCustomValues, getDate, getDescription, getFromName, getFromOwner, getFromUser, getLocation, getNature, getNetwork, getPrincipalType, getToName, getToUser, getTransactionNumber, getType, isFromSystem, isFromUser, isToSystem, isToUser, setAccessClient, setAmount, setBy, setBySelf, setChannel, setCustomValues, setDate, setDescription, setFromName, setFromOwner, setPrincipalType, setToName, setToOwner, setTransactionNumberisGlobalclone, equals, getId, getId, getIds, getUniqueIds, getUniqueIds, hashCode, isPersistent, isTransient, toStringpublic java.util.List<TransactionAuthorization> getAuthorizations()
public TransactionAuthorizationStatus getAuthorizationStatus()
public TransactionAuthorizationType getAuthorizationType()
public BasicUser getDestinationUser()
getDestinationUser in class TransactiongetDestinationUser()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 BasicUser getSourceUser()
getSourceUser in class TransactiongetSourceUser()public boolean isAuthorized()
public boolean isPendingAuthorization()
public boolean isReceived()
public void setAuthorizations(java.util.List<TransactionAuthorization> authorizations)
public void setAuthorizationStatus(TransactionAuthorizationStatus authorizationStatus)
public void setAuthorizationType(TransactionAuthorizationType authorizationType)
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