@Entity public abstract class InverseTransaction extends InternalTransaction
PaymentRequest
we must take the "to" owner and the transfer type's from account.PaymentRequest and Ticket both have the account owners inverted too, its not the same
for Chargeback which has from and to owners correct (i.e the from is the payer and the to is the payee) but
the source/destination accounts are calculated in the same way as for PaymentRequest and Ticket.TransactionNature.getInvertedAccordingToAccountOwner(),
TransactionNature.getInvertedAccordingToTransferTypeDirection()authorizationStatus, authorizationType, showToReceiver, status, transaction| Constructor and Description |
|---|
InverseTransaction() |
| Modifier and Type | Method and Description |
|---|---|
protected java.math.BigDecimal |
doGetActualAmount(InternalAccountOwner owner) |
AccountLocator |
getDestinationAccountLocator()
Returns the locator for the to owner account (it could be null for Tickets and IS null for ExternalPayments).
|
AccountLocator |
getSourceAccountLocator()
Returns the locator for the from owner account (from owner never is null).
|
getToOwnergetAccessClient, getActualAmount, getActualBy, getAmount, getBy, getChannel, getCurrency, getCurrencyAmount, getCustomFieldClass, getCustomFieldValueClass, getCustomValues, getDate, getDescription, getDestinationUser, getFromName, getFromOwner, getFromUser, getLocation, getNature, getNetwork, getPrincipalType, getProcessDate, getSourceUser, getToName, getToUser, getTransactionNumber, getType, isFromSystem, isFromUser, isToSystem, isToUser, setAccessClient, setAmount, setBy, setBySelf, setChannel, setCustomValues, setDate, setDescription, setFromName, setFromOwner, setPrincipalType, setToName, setToOwner, setTransactionNumber, setTypeisGlobalclone, equals, getId, getId, getIds, getUniqueIds, getUniqueIds, hashCode, isPersistent, isTransient, toStringpublic AccountLocator getDestinationAccountLocator()
TransactiongetDestinationAccountLocator in interface TransgetDestinationAccountLocator in class Transactionpublic AccountLocator getSourceAccountLocator()
TransactiongetSourceAccountLocator in interface TransgetSourceAccountLocator in class Transactionprotected java.math.BigDecimal doGetActualAmount(InternalAccountOwner owner)
doGetActualAmount in class Transaction