Class JpaFulfillmentCalculatorConfig

java.lang.Object
com.broadleafcommerce.fulfillment.provider.jpa.domain.JpaFulfillmentCalculatorConfig
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 JpaFulfillmentCalculatorConfig extends Object implements com.broadleafcommerce.data.tracking.core.ApplicationTrackable<com.broadleafcommerce.data.tracking.jpa.filtering.domain.ApplicationJpaTracking>, Serializable, com.broadleafcommerce.data.tracking.core.mapping.ModelMapperMappable, com.broadleafcommerce.data.tracking.core.mapping.BusinessTypeAware
See Also:
  • Field Details

  • Constructor Details

    • JpaFulfillmentCalculatorConfig

      public JpaFulfillmentCalculatorConfig()
  • 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
    • getContextId

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

      public String getName()
    • getFulfillmentType

      public String getFulfillmentType()
    • getServiceLevel

      public String getServiceLevel()
    • isActive

      public boolean isActive()
    • getEstimatedMinDaysToFulfill

      public Integer getEstimatedMinDaysToFulfill()
    • getEstimatedMaxDaysToFulfill

      public Integer getEstimatedMaxDaysToFulfill()
    • getCurrency

      public javax.money.CurrencyUnit getCurrency()
    • getDestinationType

      public String getDestinationType()
    • getFulfillmentDestination

      public JpaFulfillmentDestination getFulfillmentDestination()
    • getDestinationCountryCode

      public String getDestinationCountryCode()
    • getOriginType

      public String getOriginType()
    • getInventoryLocation

      public String getInventoryLocation()
    • getFulfillmentOrigin

      public JpaFulfillmentOrigin getFulfillmentOrigin()
    • getCalculationMethod

      public String getCalculationMethod()
    • getCalculatorOperation

      public String getCalculatorOperation()
    • getBandField

      public String getBandField()
    • getWeightUnit

      public String getWeightUnit()
    • getFulfillmentPriceTiers

      public List<FulfillmentPriceTier> getFulfillmentPriceTiers()
    • getInventoryType

      public String getInventoryType()
    • getPriority

      public Integer getPriority()
    • getActiveStartDate

      public Instant getActiveStartDate()
    • getActiveEndDate

      public Instant getActiveEndDate()
    • getTracking

      public com.broadleafcommerce.data.tracking.jpa.filtering.domain.ApplicationJpaTracking getTracking()
      Specified by:
      getTracking in interface com.broadleafcommerce.data.tracking.core.Trackable
      Returns:
      the ApplicationJpaTracking information for this
      See Also:
      • ApplicationJpaTracking
    • setContextId

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

      public void setName(String name)
    • setFulfillmentType

      public void setFulfillmentType(String fulfillmentType)
    • setServiceLevel

      public void setServiceLevel(String serviceLevel)
    • setActive

      public void setActive(boolean active)
    • setEstimatedMinDaysToFulfill

      public void setEstimatedMinDaysToFulfill(Integer estimatedMinDaysToFulfill)
    • setEstimatedMaxDaysToFulfill

      public void setEstimatedMaxDaysToFulfill(Integer estimatedMaxDaysToFulfill)
    • setCurrency

      public void setCurrency(javax.money.CurrencyUnit currency)
    • setDestinationType

      public void setDestinationType(String destinationType)
    • setFulfillmentDestination

      public void setFulfillmentDestination(JpaFulfillmentDestination fulfillmentDestination)
    • setDestinationCountryCode

      public void setDestinationCountryCode(String destinationCountryCode)
    • setOriginType

      public void setOriginType(String originType)
    • setInventoryLocation

      public void setInventoryLocation(String inventoryLocation)
    • setFulfillmentOrigin

      public void setFulfillmentOrigin(JpaFulfillmentOrigin fulfillmentOrigin)
    • setCalculationMethod

      public void setCalculationMethod(String calculationMethod)
    • setCalculatorOperation

      public void setCalculatorOperation(String calculatorOperation)
    • setBandField

      public void setBandField(String bandField)
    • setWeightUnit

      public void setWeightUnit(String weightUnit)
    • setFulfillmentPriceTiers

      public void setFulfillmentPriceTiers(List<FulfillmentPriceTier> fulfillmentPriceTiers)
    • setInventoryType

      public void setInventoryType(String inventoryType)
    • setPriority

      public void setPriority(Integer priority)
    • setActiveStartDate

      public void setActiveStartDate(Instant activeStartDate)
    • setActiveEndDate

      public void setActiveEndDate(Instant activeEndDate)
    • 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>
      Parameters:
      tracking - the ApplicationJpaTracking information for this
      See Also:
      • 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