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.filtering.ActiveAware
,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, com.broadleafcommerce.data.tracking.core.filtering.ActiveAware
- See Also:
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected boolean
boolean
org.modelmapper.ModelMapper
fromMe()
Class<?>
javax.money.CurrencyUnit
getName()
com.broadleafcommerce.data.tracking.jpa.filtering.domain.ApplicationJpaTracking
int
hashCode()
boolean
isActive()
boolean
boolean
void
setActive
(boolean active) void
setActiveEndDate
(Instant activeEndDate) void
setActiveStartDate
(Instant activeStartDate) void
setBandField
(String bandField) void
setCalculationMethod
(String calculationMethod) void
setCalculatorOperation
(String calculatorOperation) void
setContextId
(String contextId) void
setCurrency
(javax.money.CurrencyUnit currency) void
setDestinationCountryCode
(String destinationCountryCode) void
setDestinationType
(String destinationType) void
setDimensionRestriction
(boolean dimensionRestriction) void
setDimensionRestrictionAmount
(Double dimensionRestrictionAmount) void
setDimensionRestrictionUnit
(String dimensionRestrictionUnit) void
setEstimatedMaxDaysToFulfill
(Integer estimatedMaxDaysToFulfill) void
setEstimatedMinDaysToFulfill
(Integer estimatedMinDaysToFulfill) void
setFulfillmentDestination
(JpaFulfillmentDestination fulfillmentDestination) void
setFulfillmentOrigin
(JpaFulfillmentOrigin fulfillmentOrigin) void
setFulfillmentPriceTiers
(List<FulfillmentPriceTier> fulfillmentPriceTiers) void
setFulfillmentType
(String fulfillmentType) void
setInventoryLocation
(String inventoryLocation) void
setInventoryType
(String inventoryType) void
void
setOriginType
(String originType) void
setPriority
(Integer priority) void
setServiceLevel
(String serviceLevel) void
setTracking
(com.broadleafcommerce.data.tracking.jpa.filtering.domain.ApplicationJpaTracking tracking) void
setWeightRestriction
(boolean weightRestriction) void
setWeightRestrictionAmount
(Double weightRestrictionAmount) void
setWeightRestrictionUnit
(String weightRestrictionUnit) void
setWeightUnit
(String weightUnit) 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, preFromMe, 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
-
Field Details
-
serialVersionUID
public static final long serialVersionUID- See Also:
-
-
Constructor Details
-
JpaFulfillmentCalculatorConfig
public JpaFulfillmentCalculatorConfig()
-
-
Method Details
-
getBusinessDomainType
- Specified by:
getBusinessDomainType
in interfacecom.broadleafcommerce.data.tracking.core.mapping.BusinessTypeAware
-
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
-
getContextId
- Specified by:
getContextId
in interfacecom.broadleafcommerce.data.tracking.core.Trackable
-
getName
-
getFulfillmentType
-
getServiceLevel
-
isActive
public boolean isActive() -
getEstimatedMinDaysToFulfill
-
getEstimatedMaxDaysToFulfill
-
getCurrency
public javax.money.CurrencyUnit getCurrency() -
getDestinationType
-
getFulfillmentDestination
-
getDestinationCountryCode
-
getOriginType
-
getInventoryLocation
-
getFulfillmentOrigin
-
getCalculationMethod
-
getCalculatorOperation
-
getBandField
-
getWeightUnit
-
getFulfillmentPriceTiers
-
getInventoryType
-
getPriority
-
getActiveStartDate
- Specified by:
getActiveStartDate
in interfacecom.broadleafcommerce.data.tracking.core.filtering.ActiveAware
-
getActiveEndDate
- Specified by:
getActiveEndDate
in interfacecom.broadleafcommerce.data.tracking.core.filtering.ActiveAware
-
isDimensionRestriction
public boolean isDimensionRestriction() -
getDimensionRestrictionAmount
-
getDimensionRestrictionUnit
-
isWeightRestriction
public boolean isWeightRestriction() -
getWeightRestrictionAmount
-
getWeightRestrictionUnit
-
getTracking
public com.broadleafcommerce.data.tracking.jpa.filtering.domain.ApplicationJpaTracking getTracking()- Specified by:
getTracking
in interfacecom.broadleafcommerce.data.tracking.core.Trackable
- Returns:
- the
ApplicationJpaTracking
information for this - See Also:
-
ApplicationJpaTracking
-
setContextId
- Specified by:
setContextId
in interfacecom.broadleafcommerce.data.tracking.core.Trackable
-
setName
-
setFulfillmentType
-
setServiceLevel
-
setActive
public void setActive(boolean active) -
setEstimatedMinDaysToFulfill
-
setEstimatedMaxDaysToFulfill
-
setCurrency
public void setCurrency(javax.money.CurrencyUnit currency) -
setDestinationType
-
setFulfillmentDestination
-
setDestinationCountryCode
-
setOriginType
-
setInventoryLocation
-
setFulfillmentOrigin
-
setCalculationMethod
-
setCalculatorOperation
-
setBandField
-
setWeightUnit
-
setFulfillmentPriceTiers
-
setInventoryType
-
setPriority
-
setActiveStartDate
-
setActiveEndDate
-
setDimensionRestriction
public void setDimensionRestriction(boolean dimensionRestriction) -
setDimensionRestrictionAmount
-
setDimensionRestrictionUnit
-
setWeightRestriction
public void setWeightRestriction(boolean weightRestriction) -
setWeightRestrictionAmount
-
setWeightRestrictionUnit
-
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>
- Parameters:
tracking
- theApplicationJpaTracking
information for this- See Also:
-
ApplicationJpaTracking
-
toString
-
equals
-
canEqual
-
hashCode
public int hashCode()
-