Class QuoteProperties
java.lang.Object
com.broadleafcommerce.cart.client.properties.DiscriminatedProperties<QuoteProperties>
com.broadleafcommerce.cart.client.properties.QuoteProperties
@Validated
@ConfigurationProperties("broadleaf.quote")
public class QuoteProperties
extends DiscriminatedProperties<QuoteProperties>
Properties for Quote functionalities.
See also: QuoteFunctionalitiesAspect
- Author:
- Sunny Yu
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
customQuoteItemsCanExistWithoutStandardItems
(com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) boolean
customQuoteItemsCanExistWithoutStandardItems
(String applicationId, String tenantId) getSalesTeamEmail
(com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) getSalesTeamEmail
(String applicationId, String tenantId) boolean
isEnabled
(com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) boolean
boolean
requiresSalesRepAssignment
(com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) boolean
requiresSalesRepAssignment
(String applicationId, String tenantId) void
setCustomQuoteItemsCanExistWithoutStandardItems
(boolean customQuoteItemsCanExistWithoutStandardItems) Whethercustom quote items
can exist without anystandard items
.void
setEnabled
(boolean enabled) Determine if quote-related functionalities are enabled for the given context.void
setRequireSalesRepAssignment
(boolean requireSalesRepAssignment) Whether a sales rep is required to be assigned to the quote before any changes can be made by the sales rep.void
setSalesTeamEmail
(String salesTeamEmail) Represents the email for the sales team.Methods inherited from class com.broadleafcommerce.cart.client.properties.DiscriminatedProperties
getApplication, getApplicationIdFromContext, getField, getTenant, getTenantIdFromContext, setApplication, setTenant
-
Constructor Details
-
QuoteProperties
public QuoteProperties()
-
-
Method Details
-
isEnabled
public boolean isEnabled(@Nullable com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) -
isEnabled
-
getSalesTeamEmail
public String getSalesTeamEmail(@Nullable com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) -
getSalesTeamEmail
-
requiresSalesRepAssignment
public boolean requiresSalesRepAssignment(@Nullable com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) -
requiresSalesRepAssignment
-
customQuoteItemsCanExistWithoutStandardItems
public boolean customQuoteItemsCanExistWithoutStandardItems(@Nullable com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) -
customQuoteItemsCanExistWithoutStandardItems
-
setEnabled
public void setEnabled(boolean enabled) Determine if quote-related functionalities are enabled for the given context.For example, creating a quote request, retrieve quotes, publish quotes, etc.
-
setSalesTeamEmail
Represents the email for the sales team.This is used for quote status transition notifications when the quote is unassigned.
-
setRequireSalesRepAssignment
public void setRequireSalesRepAssignment(boolean requireSalesRepAssignment) Whether a sales rep is required to be assigned to the quote before any changes can be made by the sales rep. -
setCustomQuoteItemsCanExistWithoutStandardItems
public void setCustomQuoteItemsCanExistWithoutStandardItems(boolean customQuoteItemsCanExistWithoutStandardItems) Whethercustom quote items
can exist without anystandard items
.
-