Class OrderGenerationProperties
java.lang.Object
com.broadleafcommerce.orderoperation.service.autoconfigure.OrderGenerationProperties
@ConfigurationProperties("broadleaf.orderoperation.ordergeneration")
public class OrderGenerationProperties
extends Object
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanIndicates if a VAT tax should be removed from an item's price when creating Order objects.booleanWhetherOrderFulfillmentsshould be split based on subscriptions.booleanWhetherOrderFulfillmentsshould be split based the vendors of the contained items.booleanWhetherOrderFulfillmentsshould be split based on fulfillment workflows matching the contained items.voidsetRemoveVatFromItemPrice(boolean removeVatFromItemPrice) Indicates if a VAT tax should be removed from an item's price when creating Order objects.voidsetSplitFulfillmentsBySubscription(boolean splitFulfillmentsBySubscription) WhetherOrderFulfillmentsshould be split based on subscriptions.voidsetSplitFulfillmentsByVendor(boolean splitFulfillmentsByVendor) WhetherOrderFulfillmentsshould be split based the vendors of the contained items.voidsetSplitFulfillmentsByWorkflow(boolean splitFulfillmentsByWorkflow) WhetherOrderFulfillmentsshould be split based on fulfillment workflows matching the contained items.
-
Constructor Details
-
OrderGenerationProperties
public OrderGenerationProperties()
-
-
Method Details
-
isSplitFulfillmentsByVendor
public boolean isSplitFulfillmentsByVendor()WhetherOrderFulfillmentsshould be split based the vendors of the contained items. True by default.splitFulfillmentsByVendorandsplitFulfillmentsByWorkfloware not mutually exclusive. All of these properties may apply and splitting may be contributed from all aspects. -
setSplitFulfillmentsByVendor
public void setSplitFulfillmentsByVendor(boolean splitFulfillmentsByVendor) WhetherOrderFulfillmentsshould be split based the vendors of the contained items. True by default.splitFulfillmentsByVendorandsplitFulfillmentsByWorkfloware not mutually exclusive. All of these properties may apply and splitting may be contributed from all aspects. -
isSplitFulfillmentsByWorkflow
public boolean isSplitFulfillmentsByWorkflow()WhetherOrderFulfillmentsshould be split based on fulfillment workflows matching the contained items. False by default.splitFulfillmentsByVendorandsplitFulfillmentsByWorkfloware not mutually exclusive. All of these properties may apply and splitting may be contributed from all aspects.- Since:
- Order Operation Service 2.2.0, Release Train 2.3.0
-
setSplitFulfillmentsByWorkflow
public void setSplitFulfillmentsByWorkflow(boolean splitFulfillmentsByWorkflow) WhetherOrderFulfillmentsshould be split based on fulfillment workflows matching the contained items. False by default.splitFulfillmentsByVendorandsplitFulfillmentsByWorkfloware not mutually exclusive. All of these properties may apply and splitting may be contributed from all aspects.- Since:
- Order Operation Service 2.2.0, Release Train 2.3.0
-
isSplitFulfillmentsBySubscription
public boolean isSplitFulfillmentsBySubscription()WhetherOrderFulfillmentsshould be split based on subscriptions. False by default.- Since:
- Order Operation Service 2.2.0, Release Train 2.3.0
-
setSplitFulfillmentsBySubscription
public void setSplitFulfillmentsBySubscription(boolean splitFulfillmentsBySubscription) WhetherOrderFulfillmentsshould be split based on subscriptions. False by default.- Since:
- Order Operation Service 2.2.0, Release Train 2.3.0
-
isRemoveVatFromItemPrice
public boolean isRemoveVatFromItemPrice()Indicates if a VAT tax should be removed from an item's price when creating Order objects. -
setRemoveVatFromItemPrice
public void setRemoveVatFromItemPrice(boolean removeVatFromItemPrice) Indicates if a VAT tax should be removed from an item's price when creating Order objects.
-