@Entity public class TransactionNumber extends NetworkedEntity implements DefinesNetwork
NumberGeneration.Transaction and Transfer (otherwise, the identifiers of
those tables would clash, and we'd need another mechanism for transaction number generation).Transaction and among all Transfer. Also, there is a
couple of cases were the transaction number is copied from a transaction to a transfer:
Payment (i.e a direct payment not schedueld nor recurring) to the generated transferChargeback to the root ChargebackTransfer| Constructor and Description |
|---|
TransactionNumber() |
| Modifier and Type | Method and Description |
|---|---|
Network |
getNetwork()
Returns the network this entity belongs to
|
java.lang.String |
getTransactionNumber() |
void |
setNetwork(Network network) |
void |
setTransactionNumber(java.lang.String transactionNumber) |
java.lang.String |
toString() |
isGlobalclone, equals, getId, getId, getIds, getUniqueIds, getUniqueIds, hashCode, isPersistent, isTransientpublic Network getNetwork()
NetworkedEntitygetNetwork in class NetworkedEntitypublic java.lang.String getTransactionNumber()
public void setNetwork(Network network)
setNetwork in interface DefinesNetworkpublic void setTransactionNumber(java.lang.String transactionNumber)
public java.lang.String toString()
toString in class SimpleEntity