@Entity public abstract class Transfer extends NetworkedEntity implements Trans, RatedEntity
| Constructor and Description |
|---|
Transfer() |
isGlobalclone, equals, getId, getId, getIds, getUniqueIds, getUniqueIds, hashCode, isPersistent, isTransient, toStringpublic Channel getChannel()
getChannel in interface Transpublic ChargebackTransfer getChargedBackBy()
public java.util.List<Transfer> getChildren()
public Currency getCurrency()
getCurrency in interface HasCurrencypublic CurrencyAmount getCurrencyAmount()
public java.util.Set<TransactionCustomFieldValue> getCustomValues()
getCustomValues in interface Transpublic AccountLocator getDestinationAccountLocator()
getDestinationAccountLocator in interface Transpublic java.util.Date getEmissionDate()
getEmissionDate in interface RatedEntitypublic java.util.Date getExpirationDate()
getExpirationDate in interface RatedEntitypublic Account getFrom()
public InternalAccountOwner getFromOwner()
public Network getNetwork()
NetworkedEntitygetNetwork in class NetworkedEntitypublic Transfer getParent()
public AccountLocator getSourceAccountLocator()
getSourceAccountLocator in interface Transpublic TransferStatus getStatus(TransferStatusFlow flow)
public java.util.Set<TransferStatus> getStatuses()
public Account getTo()
public InternalAccountOwner getToOwner()
public Transaction getTransaction()
public final java.lang.Long getTransactionId()
public java.lang.String getTransactionNumber()
getTransactionNumber in interface HasTransactionNumberpublic abstract TransferNature getTransferNature()
public TransferType getType()
public boolean isFromSystem()
public boolean isFromUser()
public boolean isToSystem()
public boolean isToUser()
public void setAmount(java.math.BigDecimal amount)
public void setChargedBackBy(ChargebackTransfer chargedBackBy)
public void setChildren(java.util.List<Transfer> children)
public void setDate(java.util.Date date)
public void setEmissionDate(java.util.Date emissionDate)
setEmissionDate in interface RatedEntitypublic void setExpirationDate(java.util.Date expirationDate)
setExpirationDate in interface RatedEntitypublic void setFrom(Account from)
public void setParent(Transfer parent)
public void setStatus(TransferStatusFlow flow, TransferStatus status)
public void setTo(Account to)
public void setTransaction(Transaction transaction)
public void setTransactionNumber(java.lang.String transactionNumber)
public void setType(TransferType type)