java.lang.Object
com.broadleafcommerce.promotion.offer.provider.jpa.domain.JpaOfferAuditDetail
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 public class JpaOfferAuditDetail 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
Persistent counter-part to OfferAuditDetail for use with a Jpa datastore.
Author:
Chad Harchar (charchar)
See Also:
  • Constructor Details

    • JpaOfferAuditDetail

      public JpaOfferAuditDetail()
  • Method Details

    • fromMe

      @NonNull public org.modelmapper.ModelMapper fromMe()
      Specified by:
      fromMe in interface com.broadleafcommerce.data.tracking.core.mapping.ModelMapperMappable
    • toMe

      @NonNull public org.modelmapper.ModelMapper toMe()
      Specified by:
      toMe in interface com.broadleafcommerce.data.tracking.core.mapping.ModelMapperMappable
    • getBusinessDomainType

      public Class<?> getBusinessDomainType()
      Specified by:
      getBusinessDomainType in interface com.broadleafcommerce.data.tracking.core.mapping.BusinessTypeAware
    • getDisplay

      public Optional<String> getDisplay()
      Specified by:
      getDisplay in interface com.broadleafcommerce.data.tracking.core.Trackable
    • getContextId

      public String getContextId()
      Specified by:
      getContextId in interface com.broadleafcommerce.data.tracking.core.Trackable
    • getOfferId

      public String getOfferId()
    • getOfferCodeId

      public String getOfferCodeId()
    • getOfferAuditSummaryId

      public String getOfferAuditSummaryId()
    • getCampaignTrackingId

      public String getCampaignTrackingId()
    • getTargetValue

      public String getTargetValue()
    • getTargetType

      public String getTargetType()
    • getTransactionReferenceType

      public String getTransactionReferenceType()
    • getTransactionReferenceId

      public String getTransactionReferenceId()
    • getDateApplied

      public Instant getDateApplied()
    • getTracking

      public com.broadleafcommerce.data.tracking.jpa.filtering.domain.ApplicationJpaTracking getTracking()
      Specified by:
      getTracking in interface com.broadleafcommerce.data.tracking.core.Trackable
    • setContextId

      public void setContextId(String contextId)
      Specified by:
      setContextId in interface com.broadleafcommerce.data.tracking.core.Trackable
    • setOfferId

      public void setOfferId(String offerId)
    • setOfferCodeId

      public void setOfferCodeId(String offerCodeId)
    • setOfferAuditSummaryId

      public void setOfferAuditSummaryId(String offerAuditSummaryId)
    • setCampaignTrackingId

      public void setCampaignTrackingId(String campaignTrackingId)
    • setTargetValue

      public void setTargetValue(String targetValue)
    • setTargetType

      public void setTargetType(String targetType)
    • setTransactionReferenceType

      public void setTransactionReferenceType(String transactionReferenceType)
    • setTransactionReferenceId

      public void setTransactionReferenceId(String transactionReferenceId)
    • setDateApplied

      public void setDateApplied(Instant dateApplied)
    • setTracking

      public void setTracking(com.broadleafcommerce.data.tracking.jpa.filtering.domain.ApplicationJpaTracking tracking)
      Specified by:
      setTracking in interface com.broadleafcommerce.data.tracking.core.TypedTrackable<com.broadleafcommerce.data.tracking.jpa.filtering.domain.ApplicationJpaTracking>
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • canEqual

      protected boolean canEqual(Object other)
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object