Class JpaOfferAuditSummary
java.lang.Object
com.broadleafcommerce.promotion.offer.provider.jpa.domain.JpaOfferAuditSummary
- All Implemented Interfaces:
com.broadleafcommerce.common.messaging.notification.domain.NotificationStateAware
,com.broadleafcommerce.data.tracking.core.ApplicationTrackable<com.broadleafcommerce.data.tracking.jpa.filtering.domain.ApplicationJpaTracking>
,com.broadleafcommerce.data.tracking.core.mapping.BusinessTypeAware
,com.broadleafcommerce.data.tracking.core.mapping.ModelMapperMappable
,com.broadleafcommerce.data.tracking.core.Trackable
,com.broadleafcommerce.data.tracking.core.TypedTrackable<com.broadleafcommerce.data.tracking.jpa.filtering.domain.ApplicationJpaTracking>
,Serializable
@Entity
@TrackableExtension(APPLICATION)
public class JpaOfferAuditSummary
extends Object
implements com.broadleafcommerce.data.tracking.core.ApplicationTrackable<com.broadleafcommerce.data.tracking.jpa.filtering.domain.ApplicationJpaTracking>, com.broadleafcommerce.data.tracking.core.mapping.ModelMapperMappable, com.broadleafcommerce.data.tracking.core.mapping.BusinessTypeAware, Serializable
- See Also:
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected boolean
boolean
org.modelmapper.ModelMapper
fromMe()
Class<?>
javax.money.CurrencyUnit
Transient property that holds the currency used to convert price to a MonetaryAmount.protected javax.money.CurrencyUnit
getCurrencyFromLocale
(com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) javax.money.MonetaryAmount
int
com.broadleafcommerce.data.tracking.jpa.filtering.domain.ApplicationJpaTracking
int
hashCode()
void
preFromMe
(com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo, Object businessDomain) void
setContextId
(String contextId) void
setCurrency
(javax.money.CurrencyUnit currency) Transient property that holds the currency used to convert price to a MonetaryAmount.void
setOfferId
(String offerId) void
setTotalDiscounted
(javax.money.MonetaryAmount totalDiscounted) void
setTotalUsages
(int totalUsages) void
setTracking
(com.broadleafcommerce.data.tracking.jpa.filtering.domain.ApplicationJpaTracking tracking) org.modelmapper.ModelMapper
toMe()
toString()
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface com.broadleafcommerce.data.tracking.core.mapping.ModelMapperMappable
postFromMe, postToMe, preToMe
Methods inherited from interface com.broadleafcommerce.common.messaging.notification.domain.NotificationStateAware
findNotificationState
Methods inherited from interface com.broadleafcommerce.data.tracking.core.Trackable
getDisplay, getNotificationStates, getNotificationStates, setNotificationStates
Methods inherited from interface com.broadleafcommerce.data.tracking.core.TypedTrackable
setTracking
-
Constructor Details
-
JpaOfferAuditSummary
public JpaOfferAuditSummary()
-
-
Method Details
-
preFromMe
public void preFromMe(com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo, Object businessDomain) - Specified by:
preFromMe
in interfacecom.broadleafcommerce.data.tracking.core.mapping.ModelMapperMappable
-
getCurrencyFromLocale
protected javax.money.CurrencyUnit getCurrencyFromLocale(com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) -
fromMe
@NonNull public org.modelmapper.ModelMapper fromMe()- Specified by:
fromMe
in interfacecom.broadleafcommerce.data.tracking.core.mapping.ModelMapperMappable
-
toMe
@NonNull public org.modelmapper.ModelMapper toMe()- Specified by:
toMe
in interfacecom.broadleafcommerce.data.tracking.core.mapping.ModelMapperMappable
-
getTotalDiscounted
public javax.money.MonetaryAmount getTotalDiscounted() -
setTotalDiscounted
public void setTotalDiscounted(javax.money.MonetaryAmount totalDiscounted) -
getBusinessDomainType
- Specified by:
getBusinessDomainType
in interfacecom.broadleafcommerce.data.tracking.core.mapping.BusinessTypeAware
-
getContextId
- Specified by:
getContextId
in interfacecom.broadleafcommerce.data.tracking.core.Trackable
-
getOfferId
-
getTotalUsages
public int getTotalUsages() -
getCurrency
public javax.money.CurrencyUnit getCurrency()Transient property that holds the currency used to convert price to a MonetaryAmount. -
getTracking
public com.broadleafcommerce.data.tracking.jpa.filtering.domain.ApplicationJpaTracking getTracking()- Specified by:
getTracking
in interfacecom.broadleafcommerce.data.tracking.core.Trackable
-
setContextId
- Specified by:
setContextId
in interfacecom.broadleafcommerce.data.tracking.core.Trackable
-
setOfferId
-
setTotalUsages
public void setTotalUsages(int totalUsages) -
setCurrency
public void setCurrency(javax.money.CurrencyUnit currency) Transient property that holds the currency used to convert price to a MonetaryAmount. -
setTracking
public void setTracking(com.broadleafcommerce.data.tracking.jpa.filtering.domain.ApplicationJpaTracking tracking) - Specified by:
setTracking
in interfacecom.broadleafcommerce.data.tracking.core.TypedTrackable<com.broadleafcommerce.data.tracking.jpa.filtering.domain.ApplicationJpaTracking>
-
toString
-
equals
-
canEqual
-
hashCode
public int hashCode()
-