Class TransactionImpl
java.lang.Object
com.labs64.netlicensing.util.Visitable
com.labs64.netlicensing.domain.entity.impl.BaseEntityImpl
com.labs64.netlicensing.domain.entity.impl.TransactionImpl
- All Implemented Interfaces:
BaseEntity
,Transaction
,Serializable
Default implementation of
Transaction
.- See Also:
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionasMap()
void
setCurrency
(Currency currency) void
setDateClosed
(Date dateClosed) void
setDateCreated
(Date dateCreated) void
setDiscount
(BigDecimal discount) void
setGrandTotal
(BigDecimal grandTotal) void
setLicenseTransactionJoins
(List<LicenseTransactionJoin> licenseTransactionJoins) void
setSource
(TransactionSource source) void
setStatus
(TransactionStatus status) Methods inherited from class com.labs64.netlicensing.domain.entity.impl.BaseEntityImpl
addProperty, getActive, getNumber, getProperties, removeProperty, setActive, setNumber, toString, toString
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface com.labs64.netlicensing.domain.entity.BaseEntity
addProperty, getActive, getNumber, getProperties, removeProperty, setActive, setNumber
-
Constructor Details
-
TransactionImpl
public TransactionImpl()
-
-
Method Details
-
getReservedProps
- See Also:
-
getStatus
- Specified by:
getStatus
in interfaceTransaction
-
setStatus
- Specified by:
setStatus
in interfaceTransaction
-
getSource
- Specified by:
getSource
in interfaceTransaction
-
setSource
- Specified by:
setSource
in interfaceTransaction
-
getGrandTotal
- Specified by:
getGrandTotal
in interfaceTransaction
-
setGrandTotal
- Specified by:
setGrandTotal
in interfaceTransaction
-
getDiscount
- Specified by:
getDiscount
in interfaceTransaction
-
setDiscount
- Specified by:
setDiscount
in interfaceTransaction
-
getCurrency
- Specified by:
getCurrency
in interfaceTransaction
-
setCurrency
- Specified by:
setCurrency
in interfaceTransaction
-
getDateCreated
- Specified by:
getDateCreated
in interfaceTransaction
-
setDateCreated
- Specified by:
setDateCreated
in interfaceTransaction
-
getDateClosed
- Specified by:
getDateClosed
in interfaceTransaction
-
setDateClosed
- Specified by:
setDateClosed
in interfaceTransaction
-
getTransactionProperties
- Specified by:
getTransactionProperties
in interfaceTransaction
-
asMap
- Specified by:
asMap
in interfaceBaseEntity
- Overrides:
asMap
in classBaseEntityImpl
-
getLicenseTransactionJoins
- Specified by:
getLicenseTransactionJoins
in interfaceTransaction
-
setLicenseTransactionJoins
- Specified by:
setLicenseTransactionJoins
in interfaceTransaction
-