14 | ruleengine.settings | {
"groupRuleTypes": [
{
"displayName": "Default",
"name": "default",
"value": 1,
"stopConditionClasses": "com.skava.promotion.ecomm.model.PromotionSku"
}
],
"ruleTypes": [
{
"displayName": "Item Price Rules",
"description": "Promotion applied on Item Price.",
"name": "itemPrice",
"value": 1,
"conditionClasses": "com.skava.promotion.ecomm.model.PromotionSku,com.skava.promotion.ecomm.model.PromotionBundle,com.skava.promotion.ecomm.model.PromotionCoupon,com.skava.promotion.ecomm.model.PromotionCart,com.skava.promotion.ecomm.model.PromotionUser,com.skava.promotion.ecomm.model.PromotionAccounts",
"stopConditionClasses": "com.skava.promotion.ecomm.model.PromotionSku",
"actionTypes": [
{
"displayName": "Fixed Offer",
"description": "Item provided at Fixed Amount",
"value": 1,
"actions": [
{
"name": "Product Price Offer",
"description": "Promotion applied on Product Price.",
"className": "com.skava.promotion.ecomm.action.ProductPriceOff",
"conditionClasses": "com.skava.promotion.ecomm.model.PromotionSku,com.skava.promotion.ecomm.model.PromotionUser,com.skava.promotion.ecomm.model.PromotionPayment,com.skava.promotion.ecomm.model.PromotionCookie,com.skava.promotion.ecomm.model.PromotionAccounts",
"params": [
{
"name": "purchaseType",
"displayName": "Purchase Type",
"type": "select",
"options": [
{
"name": "batchPurchase",
"displayName": "Batch Purchase Quantity",
"description": "Offer applied to batches of specified quantity of the product added to the cart. Ex: Get 10$ offer when you buy 4 pairs of socks. When 4 Pairs of Socks is added to cart then 10$ discount is applied. When 9 Pairs of socks is added to cart then 20$ discount is applied and remaining 1 pair of socks is provided without discount."
},
{
"name": "minPurchase",
"displayName": "Minimum Purchase Quantity",
"description": "Offer applied to the product only when the minimum quantity specified is added to the cart. Ex: Get 10% offer when you buy a minimum of 4 pairs of Socks. When 3 pairs of socks is added to cart then no discount is applied. When 4 Pairs of Socks is added to cart then 10% discount is applied. When 5 or more Pairs of socks is added to cart then 10% discount will be applied for 5 or all pairs of socks."
},
{
"name": "maxPurchase",
"displayName": "Maximum Purchase Quantity",
"description": "Offer applied only to the maximum specified quantity of the product which is added to the cart. Ex: Get 10% offer for maximum 4 pairs of socks per order. When 3 pairs of socks is added to cart then 10% discount is applied. When 4 Pairs of Socks is added to cart then 10% discount is applied. When 5 Pairs of socks is added to cart then 10% discount is applied and remaining 1 pair of socks is provided without discount."
}
]
},
{
"name": "purchaseQty",
"displayName": "Purchase Quantity"
},
{
"name": "discountType",
"displayName": "Discount Type",
"type": "select",
"options": [
{
"name": "each",
"displayName": "Each Discount"
},
{
"name": "flat",
"displayName": "Flat Discount"
}
]
},
{
"name": "offerValue",
"displayName": "@ Amount"
},
{
"name": "offer on other values",
"displayName": "Offer on other values",
"type": "multiselect",
"options": [
{
"name": "PV",
"displayName": "PV",
"label": "FixedOffer on PV"
},
{
"name": "CV",
"displayName": "CV",
"label": "FixedOffer on CV"
}
]
}
]
},
{
"name": "Product Personalization",
"description": "Promotion applied on Product Personalization Price.",
"className": "com.skava.promotion.ecomm.action.ProductPersonalizationOffer",
"conditionClasses": "com.skava.promotion.ecomm.model.PromotionSku,com.skava.promotion.ecomm.model.PromotionUser,com.skava.promotion.ecomm.model.PromotionPayment,com.skava.promotion.ecomm.model.PromotionCookie,com.skava.promotion.ecomm.model.PromotionAccounts",
"params": [
{
"name": "personalizationType",
"displayName": "Personalization Type"
},
{
"name": "offerValue",
"displayName": "@ Amount"
}
]
},
{
"name": "Bundle Product Offer",
"description": "Promotion applied on bundle product price.",
"className": "com.skava.promotion.ecomm.action.BundleProductPriceOff",
"conditionClasses": "com.skava.promotion.ecomm.model.PromotionBundle,com.skava.promotion.ecomm.model.PromotionUser,com.skava.promotion.ecomm.model.PromotionPayment,com.skava.promotion.ecomm.model.PromotionCookie,com.skava.promotion.ecomm.model.PromotionAccounts",
"params": [
{
"name": "purchaseType",
"displayName": "Purchase Type",
"type": "select",
"options": [
{
"name": "batchPurchase",
"displayName": "Batch Purchase Quantity",
"description": "Offer applied to batches of specified quantity of the product added to the cart. Ex: Get 10$ offer when you buy 4 pairs of socks. When 4 Pairs of Socks is added to cart then 10$ discount is applied. When 9 Pairs of socks is added to cart then 20$ discount is applied and remaining 1 pair of socks is provided without discount."
},
{
"name": "minPurchase",
"displayName": "Minimum Purchase Quantity",
"description": "Offer applied to the product only when the minimum quantity specified is added to the cart. Ex: Get 10% offer when you buy a minimum of 4 pairs of Socks. When 3 pairs of socks is added to cart then no discount is applied. When 4 Pairs of Socks is added to cart then 10% discount is applied. When 5 or more Pairs of socks is added to cart then 10% discount will be applied for 5 or all pairs of socks."
},
{
"name": "maxPurchase",
"displayName": "Maximum Purchase Quantity",
"description": "Offer applied only to the maximum specified quantity of the product which is added to the cart. Ex: Get 10% offer for maximum 4 pairs of socks per order. When 3 pairs of socks is added to cart then 10% discount is applied. When 4 Pairs of Socks is added to cart then 10% discount is applied. When 5 Pairs of socks is added to cart then 10% discount is applied and remaining 1 pair of socks is provided without discount."
}
]
},
{
"name": "purchaseQty",
"displayName": "Purchase Quantity"
},
{
"name": "discountType",
"displayName": "Discount Type",
"type": "select",
"options": [
{
"name": "each",
"displayName": "Each Discount"
},
{
"name": "flat",
"displayName": "Flat Discount"
}
]
},
{
"name": "offerValue",
"displayName": "@ Amount"
},
{
"name": "offer on other values",
"displayName": "Offer on other values",
"type": "multiselect",
"options": [
{
"name": "PV",
"displayName": "PV",
"label": "FixedOffer on PV"
},
{
"name": "CV",
"displayName": "CV",
"label": "FixedOffer on CV"
}
]
}
]
}
]
},
{
"displayName": "Amount Offer",
"description": "Item provided at Discounted Amount",
"value": 2,
"actions": [
{
"name": "Product Price Offer",
"description": "Promotion applied on Product Price.",
"className": "com.skava.promotion.ecomm.action.ProductPriceOff",
"conditionClasses": "com.skava.promotion.ecomm.model.PromotionSku,com.skava.promotion.ecomm.model.PromotionUser,com.skava.promotion.ecomm.model.PromotionPayment,com.skava.promotion.ecomm.model.PromotionCookie,com.skava.promotion.ecomm.model.PromotionAccounts",
"params": [
{
"name": "purchaseType",
"displayName": "Purchase Type",
"type": "select",
"options": [
{
"name": "batchPurchase",
"displayName": "Batch Purchase Quantity",
"description": "Offer applied to batches of specified quantity of the product added to the cart. Ex: Get 10$ offer when you buy 4 pairs of socks. When 4 Pairs of Socks is added to cart then 10$ discount is applied. When 9 Pairs of socks is added to cart then 20$ discount is applied and remaining 1 pair of socks is provided without discount."
},
{
"name": "minPurchase",
"displayName": "Minimum Purchase Quantity",
"description": "Offer applied to the product only when the minimum quantity specified is added to the cart. Ex: Get 10% offer when you buy a minimum of 4 pairs of Socks. When 3 pairs of socks is added to cart then no discount is applied. When 4 Pairs of Socks is added to cart then 10% discount is applied. When 5 or more Pairs of socks is added to cart then 10% discount will be applied for 5 or all pairs of socks."
},
{
"name": "maxPurchase",
"displayName": "Maximum Purchase Quantity",
"description": "Offer applied only to the maximum specified quantity of the product which is added to the cart. Ex: Get 10% offer for maximum 4 pairs of socks per order. When 3 pairs of socks is added to cart then 10% discount is applied. When 4 Pairs of Socks is added to cart then 10% discount is applied. When 5 Pairs of socks is added to cart then 10% discount is applied and remaining 1 pair of socks is provided without discount."
}
]
},
{
"name": "purchaseQty",
"displayName": "Purchase Quantity"
},
{
"name": "discountType",
"displayName": "Discount Type",
"type": "select",
"options": [
{
"name": "each",
"displayName": "Each Discount"
},
{
"name": "flat",
"displayName": "Flat Discount"
}
]
},
{
"name": "offerValue",
"displayName": "Offer Amount"
},
{
"name": "offer on other values",
"displayName": "Offer on other values",
"type": "multiselect",
"options": [
{
"name": "PV",
"displayName": "PV",
"label": "AmountOffer on PV"
},
{
"name": "CV",
"displayName": "CV",
"label": "AmountOffer on CV"
}
]
}
]
},
{
"name": "Product Personalization",
"description": "Promotion applied on Product Personalization Price.",
"className": "com.skava.promotion.ecomm.action.ProductPersonalizationOffer",
"conditionClasses": "com.skava.promotion.ecomm.model.PromotionSku,com.skava.promotion.ecomm.model.PromotionUser,com.skava.promotion.ecomm.model.PromotionPayment,com.skava.promotion.ecomm.model.PromotionCookie,com.skava.promotion.ecomm.model.PromotionAccounts",
"params": [
{
"name": "personalizationType",
"displayName": "Personalization Type"
},
{
"name": "offerValue",
"displayName": "Offer Amount"
}
]
},
{
"name": "Bundle Product Offer",
"description": "Promotion applied on bundle product price.",
"className": "com.skava.promotion.ecomm.action.BundleProductPriceOff",
"conditionClasses": "com.skava.promotion.ecomm.model.PromotionBundle,com.skava.promotion.ecomm.model.PromotionUser,com.skava.promotion.ecomm.model.PromotionPayment,com.skava.promotion.ecomm.model.PromotionCookie,com.skava.promotion.ecomm.model.PromotionAccounts",
"params": [
{
"name": "purchaseType",
"displayName": "Purchase Type",
"type": "select",
"options": [
{
"name": "batchPurchase",
"displayName": "Batch Purchase Quantity",
"description": "Offer applied to batches of specified quantity of the product added to the cart. Ex: Get 10$ offer when you buy 4 pairs of socks. When 4 Pairs of Socks is added to cart then 10$ discount is applied. When 9 Pairs of socks is added to cart then 20$ discount is applied and remaining 1 pair of socks is provided without discount."
},
{
"name": "minPurchase",
"displayName": "Minimum Purchase Quantity",
"description": "Offer applied to the product only when the minimum quantity specified is added to the cart. Ex: Get 10% offer when you buy a minimum of 4 pairs of Socks. When 3 pairs of socks is added to cart then no discount is applied. When 4 Pairs of Socks is added to cart then 10% discount is applied. When 5 or more Pairs of socks is added to cart then 10% discount will be applied for 5 or all pairs of socks."
},
{
"name": "maxPurchase",
"displayName": "Maximum Purchase Quantity",
"description": "Offer applied only to the maximum specified quantity of the product which is added to the cart. Ex: Get 10% offer for maximum 4 pairs of socks per order. When 3 pairs of socks is added to cart then 10% discount is applied. When 4 Pairs of Socks is added to cart then 10% discount is applied. When 5 Pairs of socks is added to cart then 10% discount is applied and remaining 1 pair of socks is provided without discount."
}
]
},
{
"name": "purchaseQty",
"displayName": "Purchase Quantity"
},
{
"name": "discountType",
"displayName": "Discount Type",
"type": "select",
"options": [
{
"name": "each",
"displayName": "Each Discount"
},
{
"name": "flat",
"displayName": "Flat Discount"
}
]
},
{
"name": "offerValue",
"displayName": "Offer Amount"
},
{
"name": "offer on other values",
"displayName": "Offer on other values",
"type": "multiselect",
"options": [
{
"name": "PV",
"displayName": "PV",
"label": "AmountOffer on PV"
},
{
"name": "CV",
"displayName": "CV",
"label": "AmountOffer on CV"
}
]
}
]
},
{
"name": "Summed Up Product Price Offer",
"className": "com.skava.promotion.ecomm.action.SummedUpProductPriceOff",
"conditionClasses": "com.skava.promotion.ecomm.model.PromotionSku,com.skava.promotion.ecomm.model.PromotionUser,com.skava.promotion.ecomm.model.PromotionPayment,com.skava.promotion.ecomm.model.PromotionCookie,com.skava.promotion.ecomm.model.PromotionAccounts",
"params": [
{
"id": "id_skSummedUpAction",
"className": "clsCustomActionQB",
"name": "SummedUpAction",
"type": "querybuilder",
"displayName": "Summed Up Value",
"allow_empty": false,
"allow_groups": false,
"value": {
"readonly": true,
"rules": [
{
"flags": {
"filter_readonly": true,
"no_delete": true,
"no_add_rule": true
},
"id": "summedUpValue",
"field": "summedUpValue",
"type": "integer",
"input": "text",
"operator": "equal",
"value": ""
}
]
},
"filters": [
{
"id": "summedUpValue",
"label": "Summed Up Value",
"type": "integer",
"operators": [
"equal",
"not_equal",
"less",
"less_or_equal",
"greater",
"greater_or_equal",
"between",
"not_between"
]
}
],
"default_filter": "summedUpValue"
},
{
"name": "offerValue",
"displayName": "Offer Amount"
}
]
}
]
},
{
"displayName": "% Offer",
"description": "Item provided at Percentage Discounted Amount",
"value": 3,
"actions": [
{
"name": "Product Price Offer",
"description": "Promotion applied on Product Price.",
"className": "com.skava.promotion.ecomm.action.ProductPriceOff",
"conditionClasses": "com.skava.promotion.ecomm.model.PromotionSku,com.skava.promotion.ecomm.model.PromotionUser,com.skava.promotion.ecomm.model.PromotionPayment,com.skava.promotion.ecomm.model.PromotionCookie,com.skava.promotion.ecomm.model.PromotionAccounts",
"params": [
{
"name": "purchaseType",
"displayName": "Purchase Type",
"type": "select",
"options": [
{
"name": "batchPurchase",
"displayName": "Batch Purchase Quantity",
"description": "Offer applied to batches of specified quantity of the product added to the cart. Ex: Get 10$ offer when you buy 4 pairs of socks. When 4 Pairs of Socks is added to cart then 10$ discount is applied. When 9 Pairs of socks is added to cart then 20$ discount is applied and remaining 1 pair of socks is provided without discount."
},
{
"name": "minPurchase",
"displayName": "Minimum Purchase Quantity",
"description": "Offer applied to the product only when the minimum quantity specified is added to the cart. Ex: Get 10% offer when you buy a minimum of 4 pairs of Socks. When 3 pairs of socks is added to cart then no discount is applied. When 4 Pairs of Socks is added to cart then 10% discount is applied. When 5 or more Pairs of socks is added to cart then 10% discount will be applied for 5 or all pairs of socks."
},
{
"name": "maxPurchase",
"displayName": "Maximum Purchase Quantity",
"description": "Offer applied only to the maximum specified quantity of the product which is added to the cart. Ex: Get 10% offer for maximum 4 pairs of socks per order. When 3 pairs of socks is added to cart then 10% discount is applied. When 4 Pairs of Socks is added to cart then 10% discount is applied. When 5 Pairs of socks is added to cart then 10% discount is applied and remaining 1 pair of socks is provided without discount."
}
]
},
{
"name": "purchaseQty",
"displayName": "Purchase Quantity"
},
{
"name": "offerValue",
"displayName": "% Offer"
},
{
"name": "minimumDiscountAmount",
"displayName": "Minimum Discount Amount(Optional)"
},
{
"name": "maximumDiscountAmount",
"displayName": "Maximum Discount Amount(Optional)"
},
{
"name": "offer on other values",
"displayName": "Offer on other values",
"type": "multiselect",
"options": [
{
"name": "PV",
"displayName": "PV",
"label": "% Offer on PV"
},
{
"name": "CV",
"displayName": "CV",
"label": "% Offer on CV"
}
]
}
]
},
{
"name": "Product Personalization",
"description": "Promotion applied on Product Personalization Price.",
"className": "com.skava.promotion.ecomm.action.ProductPersonalizationOffer",
"conditionClasses": "com.skava.promotion.ecomm.model.PromotionSku,com.skava.promotion.ecomm.model.PromotionUser,com.skava.promotion.ecomm.model.PromotionPayment,com.skava.promotion.ecomm.model.PromotionCookie,com.skava.promotion.ecomm.model.PromotionAccounts",
"params": [
{
"name": "personalizationType",
"displayName": "Personalization Type"
},
{
"name": "offerValue",
"displayName": "% Offer"
},
{
"name": "minimumDiscountAmount",
"displayName": "Minimum Discount Amount(Optional)"
},
{
"name": "maximumDiscountAmount",
"displayName": "Maximum Discount Amount(Optional)"
}
]
},
{
"name": "Bundle Product Offer",
"description": "Promotion applied on bundle product price.",
"className": "com.skava.promotion.ecomm.action.BundleProductPriceOff",
"conditionClasses": "com.skava.promotion.ecomm.model.PromotionBundle,com.skava.promotion.ecomm.model.PromotionUser,com.skava.promotion.ecomm.model.PromotionPayment,com.skava.promotion.ecomm.model.PromotionCookie,com.skava.promotion.ecomm.model.PromotionAccounts",
"params": [
{
"name": "purchaseType",
"displayName": "Purchase Type",
"type": "select",
"options": [
{
"name": "batchPurchase",
"displayName": "Batch Purchase Quantity",
"description": "Offer applied to batches of specified quantity of the product added to the cart. Ex: Get 10$ offer when you buy 4 pairs of socks. When 4 Pairs of Socks is added to cart then 10$ discount is applied. When 9 Pairs of socks is added to cart then 20$ discount is applied and remaining 1 pair of socks is provided without discount."
},
{
"name": "minPurchase",
"displayName": "Minimum Purchase Quantity",
"description": "Offer applied to the product only when the minimum quantity specified is added to the cart. Ex: Get 10% offer when you buy a minimum of 4 pairs of Socks. When 3 pairs of socks is added to cart then no discount is applied. When 4 Pairs of Socks is added to cart then 10% discount is applied. When 5 or more Pairs of socks is added to cart then 10% discount will be applied for 5 or all pairs of socks."
},
{
"name": "maxPurchase",
"displayName": "Maximum Purchase Quantity",
"description": "Offer applied only to the maximum specified quantity of the product which is added to the cart. Ex: Get 10% offer for maximum 4 pairs of socks per order. When 3 pairs of socks is added to cart then 10% discount is applied. When 4 Pairs of Socks is added to cart then 10% discount is applied. When 5 Pairs of socks is added to cart then 10% discount is applied and remaining 1 pair of socks is provided without discount."
}
]
},
{
"name": "purchaseQty",
"displayName": "Purchase Quantity"
},
{
"name": "offerValue",
"displayName": "% Offer"
},
{
"name": "minimumDiscountAmount",
"displayName": "Minimum Discount Amount(Optional)"
},
{
"name": "maximumDiscountAmount",
"displayName": "Maximum Discount Amount(Optional)"
},
{
"name": "offer on other values",
"displayName": "Offer on other values",
"type": "multiselect",
"options": [
{
"name": "PV",
"displayName": "PV",
"label": "% Offer on PV"
},
{
"name": "CV",
"displayName": "CV",
"label": "% Offer on CV"
}
]
}
]
},
{
"name": "Summed Up Product Price Offer",
"className": "com.skava.promotion.ecomm.action.SummedUpProductPriceOff",
"conditionClasses": "com.skava.promotion.ecomm.model.PromotionSku,com.skava.promotion.ecomm.model.PromotionUser,com.skava.promotion.ecomm.model.PromotionPayment,com.skava.promotion.ecomm.model.PromotionCookie,com.skava.promotion.ecomm.model.PromotionAccounts",
"params": [
{
"id": "id_skSummedUpAction",
"className": "clsCustomActionQB",
"name": "SummedUpAction",
"type": "querybuilder",
"displayName": "Summed Up Value",
"allow_empty": false,
"allow_groups": false,
"value": {
"readonly": true,
"rules": [
{
"flags": {
"filter_readonly": true,
"no_delete": true,
"no_add_rule": true
},
"id": "summedUpValue",
"field": "summedUpValue",
"type": "integer",
"input": "text",
"operator": "equal",
"value": ""
}
]
},
"filters": [
{
"id": "summedUpValue",
"label": "Summed Up Value",
"type": "integer",
"operators": [
"equal",
"not_equal",
"less",
"less_or_equal",
"greater",
"greater_or_equal",
"between",
"not_between"
]
}
],
"default_filter": "summedUpValue"
},
{
"name": "offerValue",
"displayName": "% Amount"
}
]
}
]
},
{
"displayName": "Formula",
"description": "Item provided at Formula Based Discounted Amount",
"value": 4,
"actions": [
{
"name": "Product Price Offer",
"description": "Promotion applied on Product Price.",
"className": "com.skava.promotion.ecomm.action.ProductPriceOff",
"conditionClasses": "com.skava.promotion.ecomm.model.PromotionSku,com.skava.promotion.ecomm.model.PromotionUser,com.skava.promotion.ecomm.model.PromotionPayment,com.skava.promotion.ecomm.model.PromotionCookie,com.skava.promotion.ecomm.model.PromotionAccounts",
"formulaClasses": "com.skava.promotion.ecomm.model.PromotionSku",
"params": [
{
"name": "purchaseType",
"displayName": "Purchase Type",
"type": "select",
"options": [
{
"name": "batchPurchase",
"displayName": "Batch Purchase Quantity",
"description": "Offer applied to batches of specified quantity of the product added to the cart. Ex: Get 10$ offer when you buy 4 pairs of socks. When 4 Pairs of Socks is added to cart then 10$ discount is applied. When 9 Pairs of socks is added to cart then 20$ discount is applied and remaining 1 pair of socks is provided without discount."
},
{
"name": "minPurchase",
"displayName" | Indicates the configuration of rule engine settings. |