Package org.cyclos.entities.banking
Class Payment
-
- All Implemented Interfaces:
Cloneable,HasCurrency,HasCurrencyAmount,Trans,HasNetwork,ProcessableForProxying,EntityWithCustomValues<TransactionCustomField,TransactionCustomFieldPossibleValueCategory,TransactionCustomFieldPossibleValue,TransactionCustomFieldValue>,HasTransactionNumber,IEntity,HasAmount
@Entity public class Payment extends BasePayment
A direct payment
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.cyclos.entities.SimpleEntity
SimpleEntity.EntityLoadNotifier
-
-
Field Summary
-
Fields inherited from class org.cyclos.entities.banking.InternalTransaction
installments
-
Fields inherited from class org.cyclos.entities.banking.Transaction
authorizationStatus, authorizationType, creationType, expirationDate, nextAuthorizationLevel, receivedBy, showToReceiver, status, transaction
-
-
Constructor Summary
Constructors Constructor Description Payment()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description VoucherPackgetBoughtVoucherPack()LocationgetLocation()TransactionNaturegetNature()PaymentTransfergetTransfer()LonggetTransferId()booleanisSendNotifications()voidsetBoughtVoucherPack(VoucherPack voucherPack)voidsetSendNotifications(boolean sendNotifications)voidsetTransfer(PaymentTransfer transfer)-
Methods inherited from class org.cyclos.entities.banking.BasePayment
getAuthorizations, getAuthorizationStatus, getAuthorizationType, getCreationType, getFeedback, getFeedbackExpirationNotified, getFeedbackExpirationReminderNotified, getFeedbackReminderNotified, getNextAuthorizationLevel, getOidcClient, getPaymentRequest, getPaymentType, getProcessDate, getReceivedBy, getReceiver, isAuthorized, isPendingAuthorization, isReceived, setAuthorizations, setAuthorizationStatus, setAuthorizationType, setCreationType, setFeedback, setFeedbackExpirationNotified, setFeedbackExpirationReminderNotified, setFeedbackReminderNotified, setNextAuthorizationLevel, setOidcClient, setPaymentRequest, setPaymentType, setReceivedBy, setType
-
Methods inherited from class org.cyclos.entities.banking.InternalTransaction
getToOwner, getVoucherTransaction, setVoucherTransaction
-
Methods inherited from class org.cyclos.entities.banking.Transaction
getAccessClient, getAmount, getBy, getChannel, getCurrency, getCustomFieldClass, getCustomFieldValueClass, getCustomValues, getDate, getDescription, getFrom, getFromBasicUser, getFromName, getNetwork, getPerformer, getPrincipalType, getRelatedName, getTo, getToBasicUser, getToName, getToUser, getTransactionNumber, getType, isPendingNotification, setAccessClient, setAmount, setBy, setChannel, setCustomValues, setDate, setDescription, setFrom, setFromName, setPendingNotification, setPrincipalType, setTo, setToName, setTransactionNumber
-
Methods inherited from class org.cyclos.entities.BaseEntity
getDataTranslationType, getVersion
-
Methods inherited from class org.cyclos.entities.NetworkedEntity
isGlobal
-
Methods inherited from class org.cyclos.entities.SimpleEntity
equals, getId, hashCode, id, ids, isPersistent, isTransient, register, setId, toShortString, toString, uniqueIds, uniqueIds
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.cyclos.entities.banking.HasCurrency
round, withCurrency
-
Methods inherited from interface org.cyclos.entities.banking.HasCurrencyAmount
getCurrencyAmount
-
Methods inherited from interface org.cyclos.entities.ProcessableForProxying
getProxyClass
-
Methods inherited from interface org.cyclos.entities.banking.Trans
getActualAmount, getCustomValuesForExport, getFromOwner, getFromOwnerOrType, getFromType, getFromUser, getRelatedAccount, getRelatedOwner, getToOwnerOrType, getToType, getTransactionNumberOrId, isDebit, isFromSystem, isFromUser, isToSystem, isToUser
-
-
-
-
Method Detail
-
getBoughtVoucherPack
public VoucherPack getBoughtVoucherPack()
-
getLocation
public Location getLocation()
- Specified by:
getLocationin classTransaction
-
getNature
public TransactionNature getNature()
- Specified by:
getNaturein classTransaction
-
getTransfer
public PaymentTransfer getTransfer()
-
getTransferId
public Long getTransferId()
-
isSendNotifications
public boolean isSendNotifications()
-
setBoughtVoucherPack
public void setBoughtVoucherPack(VoucherPack voucherPack)
-
setSendNotifications
public void setSendNotifications(boolean sendNotifications)
-
setTransfer
public void setTransfer(PaymentTransfer transfer)
-
-