@Entity public abstract class BasePayment extends InternalTransaction
installmentsauthorizationStatus, authorizationType, expirationDate, nextAuthorizationLevel, received, receivedBy, showToReceiver, status, transaction| Constructor and Description |
|---|
BasePayment() |
| Modifier and Type | Method and Description |
|---|---|
java.util.List<TransactionAuthorization> |
getAuthorizations() |
TransactionAuthorizationStatus |
getAuthorizationStatus()
Never returns NA
|
TransactionAuthorizationType |
getAuthorizationType()
Never returns NA
|
TransactionFeedback |
getFeedback() |
java.lang.Boolean |
getFeedbackExpirationNotified() |
java.lang.Boolean |
getFeedbackExpirationReminderNotified() |
java.lang.Boolean |
getFeedbackReminderNotified() |
AuthorizationLevel |
getNextAuthorizationLevel() |
OidcClient |
getOidcClient() |
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 |
getReceiver()
If this payment was received 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 |
setOidcClient(OidcClient oidcClient) |
void |
setPaymentRequest(PaymentRequest paymentRequest) |
void |
setPaymentType(PaymentTransferType type) |
void |
setReceived(boolean received) |
void |
setReceivedBy(Operator receivedBy) |
void |
setType(TransferType type) |
getToOwnergetAccessClient, getAmount, getBy, getChannel, getCurrency, getCustomFieldClass, getCustomFieldValueClass, getCustomValues, getDate, getDescription, getFrom, getFromName, getLocation, getNature, getNetwork, getPerformer, getPrincipalType, getRelatedName, getTo, getToName, getToUser, getTransactionNumber, getType, setAccessClient, setAmount, setBy, setChannel, setCustomValues, setDate, setDescription, setFrom, setFromName, setPrincipalType, setTo, setToName, setTransactionNumberisGlobalclone, equals, getId, getId, getIds, getUniqueIds, getUniqueIds, hashCode, isPersistent, isTransient, toShortString, toStringfinalize, getClass, notify, notifyAll, wait, wait, waitgetActualAmount, getFromOwner, getFromOwnerOrType, getFromType, getFromUser, getRelatedAccount, getRelatedOwner, getToOwnerOrType, getToType, isDebit, isFromSystem, isFromUser, isToSystem, isToUsergetCurrencyAmountpublic java.util.List<TransactionAuthorization> getAuthorizations()
public TransactionAuthorizationStatus getAuthorizationStatus()
public TransactionAuthorizationType getAuthorizationType()
public TransactionFeedback getFeedback()
public java.lang.Boolean getFeedbackExpirationNotified()
public java.lang.Boolean getFeedbackExpirationReminderNotified()
public java.lang.Boolean getFeedbackReminderNotified()
public AuthorizationLevel getNextAuthorizationLevel()
public OidcClient getOidcClient()
public PaymentRequest getPaymentRequest()
public PaymentTransferType getPaymentType()
public java.util.Date getProcessDate()
TransactiongetProcessDate in class Transactionpublic Operator getReceivedBy()
public BasicUser getReceiver()
getReceiver in class Transactionpublic 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 setOidcClient(OidcClient oidcClient)
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