Class JpaBillingEventAdjustment

java.lang.Object
com.broadleafcommerce.billing.provider.jpa.domain.JpaBillingEventAdjustment
All Implemented Interfaces:
com.broadleafcommerce.common.messaging.notification.domain.NotificationStateAware, com.broadleafcommerce.data.tracking.core.mapping.BusinessTypeAware, com.broadleafcommerce.data.tracking.core.mapping.ModelMapperMappable, com.broadleafcommerce.data.tracking.core.TenantTrackable<BillingTenantJpaTracking>, com.broadleafcommerce.data.tracking.core.Trackable, com.broadleafcommerce.data.tracking.core.TypedTrackable<BillingTenantJpaTracking>, Serializable

@Entity public class JpaBillingEventAdjustment extends Object implements Serializable, com.broadleafcommerce.data.tracking.core.TenantTrackable<BillingTenantJpaTracking>, com.broadleafcommerce.data.tracking.core.mapping.ModelMapperMappable, com.broadleafcommerce.data.tracking.core.mapping.BusinessTypeAware
See Also:
  • Field Details

    • contextId

      protected String contextId
    • billingEventId

      protected String billingEventId
    • adjustmentRef

      protected String adjustmentRef
    • adjustmentAmount

      protected BigDecimal adjustmentAmount
    • version

      protected Integer version
  • Constructor Details

    • JpaBillingEventAdjustment

      public JpaBillingEventAdjustment()
  • Method Details

    • getBusinessDomainType

      public Class<?> getBusinessDomainType()
      Specified by:
      getBusinessDomainType in interface com.broadleafcommerce.data.tracking.core.mapping.BusinessTypeAware
    • 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
    • convertFromMe

      public Object convertFromMe(org.modelmapper.spi.MappingContext<?,?> context)
    • convertToMe

      public Object convertToMe(org.modelmapper.spi.MappingContext<?,?> context)
    • setAdjustmentId

      public void setAdjustmentId(String id)
    • getAdjustmentId

      public String getAdjustmentId()
    • setTracking

      public void setTracking(BillingTenantJpaTracking tracking)
      Specified by:
      setTracking in interface com.broadleafcommerce.data.tracking.core.TypedTrackable<BillingTenantJpaTracking>
    • setTracking

      public void setTracking(com.broadleafcommerce.data.tracking.core.filtering.domain.Tracking tracking)
      Specified by:
      setTracking in interface com.broadleafcommerce.data.tracking.core.Trackable
      Specified by:
      setTracking in interface com.broadleafcommerce.data.tracking.core.TypedTrackable<BillingTenantJpaTracking>
    • getContextId

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

      public String getBillingEventId()
    • getAdjustmentRef

      public String getAdjustmentRef()
    • getAdjustmentAmount

      public BigDecimal getAdjustmentAmount()
    • getVersion

      public Integer getVersion()
    • getTracking

      public BillingTenantJpaTracking 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
    • setBillingEventId

      public void setBillingEventId(String billingEventId)
    • setAdjustmentRef

      public void setAdjustmentRef(String adjustmentRef)
    • setAdjustmentAmount

      public void setAdjustmentAmount(BigDecimal adjustmentAmount)
    • setVersion

      public void setVersion(Integer version)
    • 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
    • toString

      public String toString()
      Overrides:
      toString in class Object