{
  "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,com.skava.promotion.ecomm.model.PromotionSkip",
      "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,com.skava.promotion.ecomm.model.PromotionSkip",
              "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"
                    }
                  ]
                }
              ]
            },
            {
              "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": "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,com.skava.promotion.ecomm.model.PromotionSkip",
              "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,com.skava.promotion.ecomm.model.PromotionSkip",
              "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,com.skava.promotion.ecomm.model.PromotionSkip",
              "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": "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": "formula",
                  "displayName": "Formula"
                }
              ]
            },
            {
              "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",
              "formulaClasses": "com.skava.promotion.ecomm.model.PromotionSku",
              "params": [
                {
                  "name": "personalizationType",
                  "displayName": "Personalization Type"
                },
                {
                  "name": "formula",
                  "displayName": "Formula"
                }
              ]
            }
          ]
        }
      ]
    },
    {
      "displayName": "BOGO Rules",
      "description": "Promotion applied on Get Item Price on a BOGO.",
      "name": "bogo",
      "value": 2,
      "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": "Buy X Get Y",
              "description": "BOGO Promotions. Promotion applied on Get Item Price.",
              "className": "com.skava.promotion.ecomm.action.BuyXGetY",
              "conditionClasses": "com.skava.promotion.ecomm.model.PromotionSku,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": "buyItemCondition",
                  "displayName": "Buy Item Condition",
                  "type": "condition",
                  "conditionClasses": "com.skava.promotion.ecomm.model.PromotionSku,com.skava.promotion.ecomm.model.PromotionBundle",
                  "index": "0"
                },
                {
                  "name": "buyItemQty",
                  "displayName": "Buy Item Quantity",
                  "index": "0"
                },
                {
                  "name": "getItemCondition",
                  "displayName": "Get Item Condition",
                  "type": "condition",
                  "conditionClasses": "com.skava.promotion.ecomm.model.PromotionSku,com.skava.promotion.ecomm.model.PromotionBundle",
                  "index": "0"
                },
                {
                  "name": "getItemQty",
                  "displayName": "Get Item Quantity",
                  "index": "0"
                },
                {
                  "name": "discountType",
                  "displayName": "Discount Type",
                  "type": "select",
                  "options": [
                    {
                      "name": "each",
                      "displayName": "Each Discount"
                    },
                    {
                      "name": "flat",
                      "displayName": "Flat Discount"
                    }
                  ]
                },
                {
                  "name": "offerValue",
                  "displayName": "@ Amount"
                }
              ]
            },
            {
              "name": "GWP",
              "description": "Gift With Purchase.",
              "className": "com.skava.promotion.ecomm.action.GiftWithPurchase",
              "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": "buyItemCondition",
                  "displayName": "Buy Item Condition",
                  "type": "condition",
                  "conditionClasses": "com.skava.promotion.ecomm.model.PromotionSku"
                },
                {
                  "name": "buyItemQty",
                  "displayName": "Buy Item Quantity"
                },
                {
                  "name": "giftProductId",
                  "displayName": "Gift Product Id"
                },
                {
                  "name": "giftSkuId",
                  "displayName": "Gift Sku Id"
                },
                {
                  "name": "maximumGiftQuantity",
                  "displayName": "Maximum Gift Quantity",
                  "required": false
                },
                {
                  "name": "giftItems",
                  "type": "object",
                  "value": [
                    {
                      "name": "skuId",
                      "displayName": "sku id",
                      "type": "text"
                    },
                    {
                      "name": "productId",
                      "displayName": "product id",
                      "type": "text"
                    },
                    {
                      "name": "optional",
                      "displayName": "optional",
                      "type": "text",
                      "value": false
                    }
                  ]
                }
              ]
            },
            {
              "name": "Bundle GWP",
              "description": "Gift With Purchase for Bundle",
              "className": "com.skava.promotion.ecomm.action.BundleGiftWithPurchase",
              "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": "buyItemCondition",
                  "displayName": "Buy Item Condition",
                  "type": "condition",
                  "conditionClasses": "com.skava.promotion.ecomm.model.PromotionBundle"
                },
                {
                  "name": "buyItemQty",
                  "displayName": "Buy Item Quantity"
                },
                {
                  "name": "giftProductId",
                  "displayName": "Gift Product Id"
                },
                {
                  "name": "giftSkuId",
                  "displayName": "Gift Sku Id"
                },
                {
                  "name": "maximumGiftQuantity",
                  "displayName": "Maximum Gift Quantity",
                  "required": false
                },
                {
                  "name": "giftItems",
                  "type": "object",
                  "value": [
                    {
                      "name": "skuId",
                      "displayName": "sku id",
                      "type": "text"
                    },
                    {
                      "name": "productId",
                      "displayName": "product id",
                      "type": "text"
                    },
                    {
                      "name": "optional",
                      "displayName": "optional",
                      "type": "text",
                      "value": false
                    }
                  ]
                }
              ]
            },
            {
              "name": "Buy X and Y",
              "description": "BOGO Promotions. Buy X and Y together and get Offer on X and Y.",
              "className": "com.skava.promotion.ecomm.action.BuyXandY",
              "conditionClasses": "com.skava.promotion.ecomm.model.PromotionSku,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": "xItemBuyCondition",
                  "displayName": "Buy X Item Condition",
                  "type": "condition",
                  "conditionClasses": "com.skava.promotion.ecomm.model.PromotionSku,com.skava.promotion.ecomm.model.PromotionBundle",
                  "index": "0"
                },
                {
                  "name": "xItemBuyQty",
                  "displayName": "Buy X Item Quantity",
                  "index": "0"
                },
                {
                  "name": "yItemBuyCondition",
                  "displayName": "Buy Y Item Condition",
                  "type": "condition",
                  "conditionClasses": "com.skava.promotion.ecomm.model.PromotionSku,com.skava.promotion.ecomm.model.PromotionBundle",
                  "index": "0"
                },
                {
                  "name": "yItemBuyQty",
                  "displayName": "Buy Y Item Quantity",
                  "index": "0"
                },
                {
                  "name": "discountType",
                  "displayName": "Discount Type",
                  "type": "select",
                  "options": [
                    {
                      "name": "each",
                      "displayName": "Each Discount"
                    },
                    {
                      "name": "flat",
                      "displayName": "Flat Discount"
                    }
                  ]
                },
                {
                  "name": "offerValue",
                  "displayName": "@ Amount"
                }
              ]
            },
            {
              "name": "Buy X Get Y (On Summed up Cart Value)",
              "description": "BOGO Promotions. Promotion applied on Get Item Price.",
              "className": "com.skava.promotion.ecomm.action.BuyXGetYSummedUpOffer",
              "conditionClasses": "com.skava.promotion.ecomm.model.PromotionSku,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": "buyItemCondition",
                  "displayName": "Buy Item Condition",
                  "type": "condition",
                  "conditionClasses": "com.skava.promotion.ecomm.model.PromotionSku,com.skava.promotion.ecomm.model.PromotionBundle",
                  "index": "0"
                },
                {
                  "name": "getItemCondition",
                  "displayName": "Get Item Condition",
                  "type": "condition",
                  "conditionClasses": "com.skava.promotion.ecomm.model.PromotionSku,com.skava.promotion.ecomm.model.PromotionBundle",
                  "index": "0"
                },
                {
                  "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"
                }
              ]
            },
            {
              "name": "GWP (On Summed up Cart Value)",
              "description": "GWP for sku and bundle combination Promotion.",
              "className": "com.skava.promotion.ecomm.action.GiftWithPurchaseSummedUpOffer",
              "conditionClasses": "com.skava.promotion.ecomm.model.PromotionSku,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": "buyItemCondition",
                  "displayName": "Buy Item Condition",
                  "type": "condition",
                  "conditionClasses": "com.skava.promotion.ecomm.model.PromotionSku,com.skava.promotion.ecomm.model.PromotionBundle",
                  "index": "0"
                },
                {
                  "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": "giftProductId",
                  "displayName": "Gift Product Id"
                },
                {
                  "name": "giftSkuId",
                  "displayName": "Gift Sku Id"
                },
                {
                  "name": "giftCount",
                  "type": "text"
                },
                {
                  "name": "giftItems",
                  "type": "object",
                  "value": [
                    {
                      "name": "productId",
                      "displayName": "GiftProductId",
                      "type": "text"
                    },
                    {
                      "name": "skuId",
                      "displayName": "GiftSkuId",
                      "type": "text"
                    },
                    {
                      "name": "optional",
                      "displayName": "optional",
                      "type": "text",
                      "value": false
                    }
                  ]
                }
              ]
            }
          ]
        },
        {
          "displayName": "Amount Offer",
          "description": "Item provided at Discounted Amount",
          "value": 2,
          "actions": [
            {
              "name": "Buy X Get Y",
              "description": "BOGO Promotions. Promotion applied on Get Item Price.",
              "className": "com.skava.promotion.ecomm.action.BuyXGetY",
              "conditionClasses": "com.skava.promotion.ecomm.model.PromotionSku,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": "buyItemCondition",
                  "displayName": "Buy Item Condition",
                  "type": "condition",
                  "conditionClasses": "com.skava.promotion.ecomm.model.PromotionSku,com.skava.promotion.ecomm.model.PromotionBundle",
                  "index": "0"
                },
                {
                  "name": "buyItemQty",
                  "displayName": "Buy Item Quantity",
                  "index": "0"
                },
                {
                  "name": "getItemCondition",
                  "displayName": "Get Item Condition",
                  "type": "condition",
                  "conditionClasses": "com.skava.promotion.ecomm.model.PromotionSku,com.skava.promotion.ecomm.model.PromotionBundle",
                  "index": "0"
                },
                {
                  "name": "getItemQty",
                  "displayName": "Get Item Quantity",
                  "index": "0"
                },
                {
                  "name": "discountType",
                  "displayName": "Discount Type",
                  "type": "select",
                  "options": [
                    {
                      "name": "each",
                      "displayName": "Each Discount"
                    },
                    {
                      "name": "flat",
                      "displayName": "Flat Discount"
                    }
                  ]
                },
                {
                  "name": "offerValue",
                  "displayName": "Offer Amount"
                }
              ]
            },
            {
              "name": "GWP",
              "description": "Gift With Purchase.",
              "className": "com.skava.promotion.ecomm.action.GiftWithPurchase",
              "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": "buyItemCondition",
                  "displayName": "Buy Item Condition",
                  "type": "condition",
                  "conditionClasses": "com.skava.promotion.ecomm.model.PromotionSku"
                },
                {
                  "name": "buyItemQty",
                  "displayName": "Buy Item Quantity"
                },
                {
                  "name": "giftProductId",
                  "displayName": "Gift Product Id"
                },
                {
                  "name": "giftSkuId",
                  "displayName": "Gift Sku Id"
                },
                {
                  "name": "maximumGiftQuantity",
                  "displayName": "Maximum Gift Quantity",
                  "required": false
                },
                {
                  "name": "giftItems",
                  "type": "object",
                  "value": [
                    {
                      "name": "skuId",
                      "displayName": "sku id",
                      "type": "text"
                    },
                    {
                      "name": "productId",
                      "displayName": "product id",
                      "type": "text"
                    },
                    {
                      "name": "optional",
                      "displayName": "optional",
                      "type": "text",
                      "value": false
                    }
                  ]
                }
              ]
            },
            {
              "name": "Bundle GWP",
              "description": "Gift With Purchase for Bundle",
              "className": "com.skava.promotion.ecomm.action.BundleGiftWithPurchase",
              "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": "buyItemCondition",
                  "displayName": "Buy Item Condition",
                  "type": "condition",
                  "conditionClasses": "com.skava.promotion.ecomm.model.PromotionBundle"
                },
                {
                  "name": "buyItemQty",
                  "displayName": "Buy Item Quantity"
                },
                {
                  "name": "giftProductId",
                  "displayName": "Gift Product Id"
                },
                {
                  "name": "giftSkuId",
                  "displayName": "Gift Sku Id"
                },
                {
                  "name": "maximumGiftQuantity",
                  "displayName": "Maximum Gift Quantity",
                  "required": false
                },
                {
                  "name": "giftItems",
                  "type": "object",
                  "value": [
                    {
                      "name": "skuId",
                      "displayName": "sku id",
                      "type": "text"
                    },
                    {
                      "name": "productId",
                      "displayName": "product id",
                      "type": "text"
                    },
                    {
                      "name": "optional",
                      "displayName": "optional",
                      "type": "text",
                      "value": false
                    }
                  ]
                }
              ]
            },
            {
              "name": "Buy X and Y",
              "description": "BOGO Promotions. Buy X and Y together and get Offer on X and Y.",
              "className": "com.skava.promotion.ecomm.action.BuyXandY",
              "conditionClasses": "com.skava.promotion.ecomm.model.PromotionSku,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": "xItemBuyCondition",
                  "displayName": "Buy X Item Condition",
                  "type": "condition",
                  "conditionClasses": "com.skava.promotion.ecomm.model.PromotionSku,com.skava.promotion.ecomm.model.PromotionBundle",
                  "index": "0"
                },
                {
                  "name": "xItemBuyQty",
                  "displayName": "Buy X Item Quantity",
                  "index": "0"
                },
                {
                  "name": "yItemBuyCondition",
                  "displayName": "Buy Y Item Condition",
                  "type": "condition",
                  "conditionClasses": "com.skava.promotion.ecomm.model.PromotionSku,com.skava.promotion.ecomm.model.PromotionBundle",
                  "index": "0"
                },
                {
                  "name": "yItemBuyQty",
                  "displayName": "Buy Y Item Quantity",
                  "index": "0"
                },
                {
                  "name": "discountType",
                  "displayName": "Discount Type",
                  "type": "select",
                  "options": [
                    {
                      "name": "each",
                      "displayName": "Each Discount"
                    },
                    {
                      "name": "flat",
                      "displayName": "Flat Discount"
                    }
                  ]
                },
                {
                  "name": "offerValue",
                  "displayName": "Offer Amount"
                }
              ]
            },
            {
              "name": "Buy X Get Y (On Summed up Cart Value)",
              "description": "BOGO Promotions. Promotion applied on Get Item Price.",
              "className": "com.skava.promotion.ecomm.action.BuyXGetYSummedUpOffer",
              "conditionClasses": "com.skava.promotion.ecomm.model.PromotionSku,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": "buyItemCondition",
                  "displayName": "Buy Item Condition",
                  "type": "condition",
                  "conditionClasses": "com.skava.promotion.ecomm.model.PromotionSku,com.skava.promotion.ecomm.model.PromotionBundle",
                  "index": "0"
                },
                {
                  "name": "getItemCondition",
                  "displayName": "Get Item Condition",
                  "type": "condition",
                  "conditionClasses": "com.skava.promotion.ecomm.model.PromotionSku,com.skava.promotion.ecomm.model.PromotionBundle",
                  "index": "0"
                },
                {
                  "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"
                }
              ]
            },
            {
              "name": "GWP (On Summed up Cart Value)",
              "description": "GWP for sku and bundle combination Promotion.",
              "className": "com.skava.promotion.ecomm.action.GiftWithPurchaseSummedUpOffer",
              "conditionClasses": "com.skava.promotion.ecomm.model.PromotionSku,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": "buyItemCondition",
                  "displayName": "Buy Item Condition",
                  "type": "condition",
                  "conditionClasses": "com.skava.promotion.ecomm.model.PromotionSku,com.skava.promotion.ecomm.model.PromotionBundle",
                  "index": "0"
                },
                {
                  "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": "giftProductId",
                  "displayName": "Gift Product Id"
                },
                {
                  "name": "giftSkuId",
                  "displayName": "Gift Sku Id"
                },
                {
                  "name": "giftCount",
                  "type": "text"
                },
                {
                  "name": "giftItems",
                  "type": "object",
                  "value": [
                    {
                      "name": "productId",
                      "displayName": "GiftProductId",
                      "type": "text"
                    },
                    {
                      "name": "skuId",
                      "displayName": "GiftSkuId",
                      "type": "text"
                    },
                    {
                      "name": "optional",
                      "displayName": "optional",
                      "type": "text",
                      "value": false
                    }
                  ]
                }
              ]
            }
          ]
        },
        {
          "displayName": "% Offer",
          "description": "Item provided at Percentage Discounted Amount",
          "value": 3,
          "actions": [
            {
              "name": "Buy X Get Y",
              "description": "BOGO Promotions. Promotion applied on Get Item Price.",
              "className": "com.skava.promotion.ecomm.action.BuyXGetY",
              "conditionClasses": "com.skava.promotion.ecomm.model.PromotionSku,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": "buyItemCondition",
                  "displayName": "Buy Item Condition",
                  "type": "condition",
                  "conditionClasses": "com.skava.promotion.ecomm.model.PromotionSku,com.skava.promotion.ecomm.model.PromotionBundle",
                  "index": "0"
                },
                {
                  "name": "buyItemQty",
                  "displayName": "Buy Item Quantity",
                  "index": "0"
                },
                {
                  "name": "getItemCondition",
                  "displayName": "Get Item Condition",
                  "type": "condition",
                  "conditionClasses": "com.skava.promotion.ecomm.model.PromotionSku,com.skava.promotion.ecomm.model.PromotionBundle",
                  "index": "0"
                },
                {
                  "name": "getItemQty",
                  "displayName": "Get Item Quantity",
                  "index": "0"
                },
                {
                  "name": "offerValue",
                  "displayName": "% Offer"
                },
                {
                  "name": "minimumDiscountAmount",
                  "displayName": "Minimum Discount Amount(Optional)"
                },
                {
                  "name": "maximumDiscountAmount",
                  "displayName": "Maximum Discount Amount(Optional)"
                }
              ]
            },
            {
              "name": "GWP",
              "description": "Gift With Purchase.",
              "className": "com.skava.promotion.ecomm.action.GiftWithPurchase",
              "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": "buyItemCondition",
                  "displayName": "Buy Item Condition",
                  "type": "condition",
                  "conditionClasses": "com.skava.promotion.ecomm.model.PromotionSku"
                },
                {
                  "name": "buyItemQty",
                  "displayName": "Buy Item Quantity"
                },
                {
                  "name": "giftProductId",
                  "displayName": "Gift Product Id"
                },
                {
                  "name": "giftSkuId",
                  "displayName": "Gift Sku Id"
                },
                {
                  "name": "maximumGiftQuantity",
                  "displayName": "Maximum Gift Quantity",
                  "required": false
                },
                {
                  "name": "giftItems",
                  "type": "object",
                  "value": [
                    {
                      "name": "skuId",
                      "displayName": "sku id",
                      "type": "text"
                    },
                    {
                      "name": "productId",
                      "displayName": "product id",
                      "type": "text"
                    },
                    {
                      "name": "optional",
                      "displayName": "optional",
                      "type": "text",
                      "value": false
                    }
                  ]
                }
              ]
            },
            {
              "name": "Bundle GWP",
              "description": "Gift With Purchase for Bundle",
              "className": "com.skava.promotion.ecomm.action.BundleGiftWithPurchase",
              "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": "buyItemCondition",
                  "displayName": "Buy Item Condition",
                  "type": "condition",
                  "conditionClasses": "com.skava.promotion.ecomm.model.PromotionBundle"
                },
                {
                  "name": "buyItemQty",
                  "displayName": "Buy Item Quantity"
                },
                {
                  "name": "giftProductId",
                  "displayName": "Gift Product Id"
                },
                {
                  "name": "giftSkuId",
                  "displayName": "Gift Sku Id"
                },
                {
                  "name": "maximumGiftQuantity",
                  "displayName": "Maximum Gift Quantity",
                  "required": false
                },
                {
                  "name": "giftItems",
                  "type": "object",
                  "value": [
                    {
                      "name": "skuId",
                      "displayName": "sku id",
                      "type": "text"
                    },
                    {
                      "name": "productId",
                      "displayName": "product id",
                      "type": "text"
                    },
                    {
                      "name": "optional",
                      "displayName": "optional",
                      "type": "text",
                      "value": false
                    }
                  ]
                }
              ]
            },
            {
              "name": "Buy X and Y",
              "description": "BOGO Promotions. Buy X and Y together and get Offer on X and Y.",
              "className": "com.skava.promotion.ecomm.action.BuyXandY",
              "conditionClasses": "com.skava.promotion.ecomm.model.PromotionSku,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": "xItemBuyCondition",
                  "displayName": "Buy X Item Condition",
                  "type": "condition",
                  "conditionClasses": "com.skava.promotion.ecomm.model.PromotionSku,com.skava.promotion.ecomm.model.PromotionBundle",
                  "index": "0"
                },
                {
                  "name": "xItemBuyQty",
                  "displayName": "Buy X Item Quantity",
                  "index": "0"
                },
                {
                  "name": "yItemBuyCondition",
                  "displayName": "Buy Y Item Condition",
                  "type": "condition",
                  "conditionClasses": "com.skava.promotion.ecomm.model.PromotionSku,com.skava.promotion.ecomm.model.PromotionBundle",
                  "index": "0"
                },
                {
                  "name": "yItemBuyQty",
                  "displayName": "Buy Y Item Quantity",
                  "index": "0"
                },
                {
                  "name": "offerValue",
                  "displayName": "% Offer"
                },
                {
                  "name": "minimumDiscountAmount",
                  "displayName": "Minimum Discount Amount(Optional)"
                },
                {
                  "name": "maximumDiscountAmount",
                  "displayName": "Maximum Discount Amount(Optional)"
                }
              ]
            },
            {
              "name": "Buy X Get Y (On Summed up Cart Value)",
              "description": "BOGO Promotions. Promotion applied on Get Item Price.",
              "className": "com.skava.promotion.ecomm.action.BuyXGetYSummedUpOffer",
              "conditionClasses": "com.skava.promotion.ecomm.model.PromotionSku,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": "buyItemCondition",
                  "displayName": "Buy Item Condition",
                  "type": "condition",
                  "conditionClasses": "com.skava.promotion.ecomm.model.PromotionSku,com.skava.promotion.ecomm.model.PromotionBundle",
                  "index": "0"
                },
                {
                  "name": "getItemCondition",
                  "displayName": "Get Item Condition",
                  "type": "condition",
                  "conditionClasses": "com.skava.promotion.ecomm.model.PromotionSku,com.skava.promotion.ecomm.model.PromotionBundle",
                  "index": "0"
                },
                {
                  "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"
                }
              ]
            },
            {
              "name": "GWP (On Summed up Cart Value)",
              "description": "GWP for sku and bundle combination Promotion.",
              "className": "com.skava.promotion.ecomm.action.GiftWithPurchaseSummedUpOffer",
              "conditionClasses": "com.skava.promotion.ecomm.model.PromotionSku,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": "buyItemCondition",
                  "displayName": "Buy Item Condition",
                  "type": "condition",
                  "conditionClasses": "com.skava.promotion.ecomm.model.PromotionSku,com.skava.promotion.ecomm.model.PromotionBundle",
                  "index": "0"
                },
                {
                  "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": "giftProductId",
                  "displayName": "Gift Product Id"
                },
                {
                  "name": "giftSkuId",
                  "displayName": "Gift Sku Id"
                },
                {
                  "name": "giftCount",
                  "type": "text"
                },
                {
                  "name": "giftItems",
                  "type": "object",
                  "value": [
                    {
                      "name": "productId",
                      "displayName": "GiftProductId",
                      "type": "text"
                    },
                    {
                      "name": "skuId",
                      "displayName": "GiftSkuId",
                      "type": "text"
                    },
                    {
                      "name": "optional",
                      "displayName": "optional",
                      "type": "text",
                      "value": false
                    }
                  ]
                }
              ]
            }
          ]
        }
      ]
    },
    {
      "displayName": "Item Shipping Rules",
      "description": "Promotion applied on Item Shipping Price.",
      "name": "itemShipping",
      "value": 3,
      "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,com.skava.promotion.ecomm.model.PromotionSkip",
      "stopConditionClasses": "com.skava.promotion.ecomm.model.PromotionSku",
      "actionTypes": [
        {
          "displayName": "Fixed Offer",
          "description": "Item provided at Fixed Shipping Amount",
          "value": 1,
          "actions": [
            {
              "name": "Product Shipping Offer",
              "description": "Promotion applied on the product shipping price.",
              "className": "com.skava.promotion.ecomm.action.ProductShippingOff",
              "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,com.skava.promotion.ecomm.model.PromotionSkip",
              "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": "Bundle Product Shipping Offer",
              "description": "Promotion applied on bundle product shipping price.",
              "className": "com.skava.promotion.ecomm.action.BundleProductShippingOff",
              "conditionClasses": "com.skava.promotion.ecomm.model.PromotionSku,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": "offerValue",
                  "displayName": "@ Amount"
                }
              ]
            },
            {
              "name": "Summed Up Product Shipping Offer",
              "className": "com.skava.promotion.ecomm.action.SummedUpProductShippingOff",
              "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,com.skava.promotion.ecomm.model.PromotionSkip",
              "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"
                },
                {
                  "name": "discountType",
                  "displayName": "Discount Type",
                  "type": "select",
                  "options": [
                    {
                      "name": "each",
                      "displayName": "Each Discount"
                    },
                    {
                      "name": "flat",
                      "displayName": "Flat Discount"
                    }
                  ]
                }
              ]
            }
          ]
        },
        {
          "displayName": "Amount Offer",
          "description": "Item provided at Discounted Shipping Amount",
          "value": 2,
          "actions": [
            {
              "name": "Product Shipping Offer",
              "description": "Promotion applied on the product shipping price.",
              "className": "com.skava.promotion.ecomm.action.ProductShippingOff",
              "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,com.skava.promotion.ecomm.model.PromotionSkip",
              "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": "Bundle Product Shipping Offer",
              "description": "Promotion applied on bundle product shipping price.",
              "className": "com.skava.promotion.ecomm.action.BundleProductShippingOff",
              "conditionClasses": "com.skava.promotion.ecomm.model.PromotionSku,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": "offerValue",
                  "displayName": "Offer Amount"
                }
              ]
            },
            {
              "name": "Summed Up Product Shipping Offer",
              "className": "com.skava.promotion.ecomm.action.SummedUpProductShippingOff",
              "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,com.skava.promotion.ecomm.model.PromotionSkip",
              "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"
                },
                {
                  "name": "discountType",
                  "displayName": "Discount Type",
                  "type": "select",
                  "options": [
                    {
                      "name": "each",
                      "displayName": "Each Discount"
                    },
                    {
                      "name": "flat",
                      "displayName": "Flat Discount"
                    }
                  ]
                }
              ]
            }
          ]
        },
        {
          "displayName": "% Offer",
          "description": "Item provided at Percentage Discounted Shipping Amount",
          "value": 3,
          "actions": [
            {
              "name": "Product Shipping Offer",
              "description": "Promotion applied on the product shipping price.",
              "className": "com.skava.promotion.ecomm.action.ProductShippingOff",
              "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,com.skava.promotion.ecomm.model.PromotionSkip",
              "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": "discountType",
                  "displayName": "Discount Type",
                  "type": "select",
                  "options": [
                    {
                      "name": "each",
                      "displayName": "Each Discount"
                    },
                    {
                      "name": "flat",
                      "displayName": "Flat Discount"
                    }
                  ]
                }
              ]
            },
            {
              "name": "Bundle Product Shipping Offer",
              "description": "Promotion applied on bundle product shipping price.",
              "className": "com.skava.promotion.ecomm.action.BundleProductShippingOff",
              "conditionClasses": "com.skava.promotion.ecomm.model.PromotionSku,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": "offerValue",
                  "displayName": "% Amount"
                }
              ]
            },
            {
              "name": "Summed Up Product Shipping Offer",
              "className": "com.skava.promotion.ecomm.action.SummedUpProductShippingOff",
              "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,com.skava.promotion.ecomm.model.PromotionSkip",
              "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"
                },
                {
                  "name": "discountType",
                  "displayName": "Discount Type",
                  "type": "select",
                  "options": [
                    {
                      "name": "each",
                      "displayName": "Each Discount"
                    },
                    {
                      "name": "flat",
                      "displayName": "Flat Discount"
                    }
                  ]
                }
              ]
            }
          ]
        },
        {
          "displayName": "Formula",
          "description": "Item provided at Formula Based Discounted Shipping Amount",
          "value": 4,
          "actions": [
            {
              "name": "Product Shipping Offer",
              "description": "Promotion applied on the product shipping price.",
              "className": "com.skava.promotion.ecomm.action.ProductShippingOff",
              "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,com.skava.promotion.ecomm.model.PromotionSkip",
              "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": "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": "formula",
                  "displayName": "Formula"
                }
              ]
            },
            {
              "name": "Summed Up Product Shipping Offer",
              "className": "com.skava.promotion.ecomm.action.SummedUpProductShippingOff",
              "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,com.skava.promotion.ecomm.model.PromotionSkip",
              "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"
                },
                {
                  "name": "discountType",
                  "displayName": "Discount Type",
                  "type": "select",
                  "options": [
                    {
                      "name": "each",
                      "displayName": "Each Discount"
                    },
                    {
                      "name": "flat",
                      "displayName": "Flat Discount"
                    }
                  ]
                }
              ]
            }
          ]
        }
      ]
    },
    {
      "displayName": "Cart Price Rules",
      "description": "Promotion applied on Cart Price.",
      "name": "cartPrice",
      "value": 4,
      "conditionClasses": "com.skava.promotion.ecomm.model.PromotionSku,com.skava.promotion.ecomm.model.PromotionBundle,com.skava.promotion.ecomm.model.PromotionCart,com.skava.promotion.ecomm.model.PromotionCoupon,com.skava.promotion.ecomm.model.PromotionUser,com.skava.promotion.ecomm.model.PromotionAccounts,com.skava.promotion.ecomm.model.PromotionSkip",
      "stopConditionClasses": "com.skava.promotion.ecomm.model.PromotionCart",
      "actionTypes": [
        {
          "displayName": "Fixed Offer",
          "description": "Cart provided at Fixed Amount",
          "value": 1,
          "actions": [
            {
              "name": "Cart Price Offer",
              "description": "Promotion applied on the Cart Price.",
              "className": "com.skava.promotion.ecomm.action.CartPriceOff",
              "conditionClasses": "com.skava.promotion.ecomm.model.PromotionCart,com.skava.promotion.ecomm.model.PromotionUser,com.skava.promotion.ecomm.model.PromotionPayment,com.skava.promotion.ecomm.model.PromotionCookie,com.skava.promotion.ecomm.model.PromotionAccounts,com.skava.promotion.ecomm.model.PromotionSkip",
              "params": [
                {
                  "id": "id_skSummedUpAction",
                  "className": "clsCustomActionQB",
                  "name": "SummedUpAction",
                  "type": "querybuilder",
                  "displayName": "Summed Up On Amount",
                  "allow_empty": false,
                  "allow_groups": false,
                  "value": {
                    "readonly": true,
                    "rules": [
                      {
                        "flags": {
                          "filter_readonly": false,
                          "no_delete": true,
                          "no_add_rule": true
                        },
                        "id": "summedUpOnAmount",
                        "field": "summedUpOnAmount",
                        "type": "integer",
                        "input": "text",
                        "operator": "equal",
                        "value": ""
                      }
                    ]
                  },
                  "filters": [
                    {
                      "id": "summedUpOnAmount",
                      "label": "Summed Up On Amount",
                      "type": "integer",
                      "operators": [
                        "equal",
                        "not_equal",
                        "less",
                        "less_or_equal",
                        "greater",
                        "greater_or_equal",
                        "between",
                        "not_between"
                      ]
                    },
                    {
                      "id": "summedUpOnPV",
                      "label": "Summed Up On PV",
                      "type": "integer",
                      "operators": [
                        "equal",
                        "not_equal",
                        "less",
                        "less_or_equal",
                        "greater",
                        "greater_or_equal",
                        "between",
                        "not_between"
                      ]
                    },
                    {
                      "id": "summedUpOnCV",
                      "label": "Summed Up On CV",
                      "type": "integer",
                      "operators": [
                        "equal",
                        "not_equal",
                        "less",
                        "less_or_equal",
                        "greater",
                        "greater_or_equal",
                        "between",
                        "not_between"
                      ]
                    },
                    {
                      "id": "summedUpOnQuantity",
                      "label": "Summed Up On Quantity",
                      "type": "integer",
                      "operators": [
                        "equal",
                        "not_equal",
                        "less",
                        "less_or_equal",
                        "greater",
                        "greater_or_equal",
                        "between",
                        "not_between"
                      ]
                    }
                  ]
                },
                {
                  "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": "enableForEligibleProducts",
                  "displayName": "Enable For Eligible Products",
                  "type": "checkbox",
                  "value": false
                },
                {
                  "name": "offerOnSubTotal",
                  "displayName": "Enable offer on Subtotal",
                  "type": "checkbox",
                  "value": false
                }
              ]
            },
            {
              "name": "CartGWP",
              "description": "PromotionappliedontheCartGiftWithPurchase.",
              "className": "com.skava.promotion.ecomm.action.CartGiftWithPurchase",
              "conditionClasses": "com.skava.promotion.ecomm.model.PromotionCart,com.skava.promotion.ecomm.model.PromotionUser,com.skava.promotion.ecomm.model.PromotionAccounts",
              "params": [
                {
                  "id": "id_skSummedUpAction",
                  "className": "clsCustomActionQB",
                  "name": "SummedUpAction",
                  "type": "querybuilder",
                  "displayName": "Summed Up On Amount",
                  "allow_empty": false,
                  "allow_groups": false,
                  "value": {
                    "readonly": true,
                    "rules": [
                      {
                        "flags": {
                          "filter_readonly": false,
                          "no_delete": true,
                          "no_add_rule": true
                        },
                        "id": "summedUpOnAmount",
                        "field": "summedUpOnAmount",
                        "type": "integer",
                        "input": "text",
                        "operator": "equal",
                        "value": ""
                      }
                    ]
                  },
                  "filters": [
                    {
                      "id": "summedUpOnAmount",
                      "label": "Summed Up On Amount",
                      "type": "integer",
                      "operators": [
                        "equal",
                        "not_equal",
                        "less",
                        "less_or_equal",
                        "greater",
                        "greater_or_equal",
                        "between",
                        "not_between"
                      ]
                    },
                    {
                      "id": "summedUpOnPV",
                      "label": "Summed Up On PV",
                      "type": "integer",
                      "operators": [
                        "equal",
                        "not_equal",
                        "less",
                        "less_or_equal",
                        "greater",
                        "greater_or_equal",
                        "between",
                        "not_between"
                      ]
                    },
                    {
                      "id": "summedUpOnCV",
                      "label": "Summed Up On CV",
                      "type": "integer",
                      "operators": [
                        "equal",
                        "not_equal",
                        "less",
                        "less_or_equal",
                        "greater",
                        "greater_or_equal",
                        "between",
                        "not_between"
                      ]
                    },
                    {
                      "id": "summedUpOnQuantity",
                      "label": "Summed Up On Quantity",
                      "type": "integer",
                      "operators": [
                        "equal",
                        "not_equal",
                        "less",
                        "less_or_equal",
                        "greater",
                        "greater_or_equal",
                        "between",
                        "not_between"
                      ]
                    }
                  ]
                },
                {
                  "name": "giftProductId",
                  "displayName": "GiftProductId"
                },
                {
                  "name": "giftSkuId",
                  "displayName": "GiftSkuId"
                },
                {
                  "name": "giftQuantity",
                  "displayName": "GiftQuantity"
                },
                {
                  "name": "enableForEligibleProducts",
                  "displayName": "Enable For Eligible Products",
                  "type": "checkbox",
                  "value": false
                },
                {
                  "name": "giftCount",
                  "type": "text"
                },
                {
                  "name": "giftItems",
                  "type": "object",
                  "value": [
                    {
                      "name": "skuId",
                      "displayName": "sku id",
                      "type": "text"
                    },
                    {
                      "name": "productId",
                      "displayName": "product id",
                      "type": "text"
                    },
                    {
                      "name": "quantity",
                      "displayName": "quantity",
                      "type": "text"
                    },
                    {
                      "name": "optional",
                      "displayName": "optional",
                      "type": "text",
                      "value": false
                    }
                  ]
                },
                {
                  "name": "offerOnSubTotal",
                  "displayName": "Enable offer on Subtotal",
                  "type": "checkbox",
                  "value": false
                }
              ]
            }
          ]
        },
        {
          "displayName": "Amount Offer",
          "description": "Cart provided at Discounted Amount",
          "value": 2,
          "actions": [
            {
              "name": "Cart Price Offer",
              "description": "Promotion applied on the Cart Price.",
              "className": "com.skava.promotion.ecomm.action.CartPriceOff",
              "conditionClasses": "com.skava.promotion.ecomm.model.PromotionCart,com.skava.promotion.ecomm.model.PromotionUser,com.skava.promotion.ecomm.model.PromotionPayment,com.skava.promotion.ecomm.model.PromotionCookie,com.skava.promotion.ecomm.model.PromotionAccounts,com.skava.promotion.ecomm.model.PromotionSkip",
              "params": [
                {
                  "id": "id_skSummedUpAction",
                  "className": "clsCustomActionQB",
                  "name": "SummedUpAction",
                  "type": "querybuilder",
                  "displayName": "Summed Up On Amount",
                  "allow_empty": false,
                  "allow_groups": false,
                  "value": {
                    "readonly": true,
                    "rules": [
                      {
                        "flags": {
                          "filter_readonly": false,
                          "no_delete": true,
                          "no_add_rule": true
                        },
                        "id": "summedUpOnAmount",
                        "field": "summedUpOnAmount",
                        "type": "integer",
                        "input": "text",
                        "operator": "equal",
                        "value": ""
                      }
                    ]
                  },
                  "filters": [
                    {
                      "id": "summedUpOnAmount",
                      "label": "Summed Up On Amount",
                      "type": "integer",
                      "operators": [
                        "equal",
                        "not_equal",
                        "less",
                        "less_or_equal",
                        "greater",
                        "greater_or_equal",
                        "between",
                        "not_between"
                      ]
                    },
                    {
                      "id": "summedUpOnPV",
                      "label": "Summed Up On PV",
                      "type": "integer",
                      "operators": [
                        "equal",
                        "not_equal",
                        "less",
                        "less_or_equal",
                        "greater",
                        "greater_or_equal",
                        "between",
                        "not_between"
                      ]
                    },
                    {
                      "id": "summedUpOnCV",
                      "label": "Summed Up On CV",
                      "type": "integer",
                      "operators": [
                        "equal",
                        "not_equal",
                        "less",
                        "less_or_equal",
                        "greater",
                        "greater_or_equal",
                        "between",
                        "not_between"
                      ]
                    },
                    {
                      "id": "summedUpOnQuantity",
                      "label": "Summed Up On Quantity",
                      "type": "integer",
                      "operators": [
                        "equal",
                        "not_equal",
                        "less",
                        "less_or_equal",
                        "greater",
                        "greater_or_equal",
                        "between",
                        "not_between"
                      ]
                    }
                  ]
                },
                {
                  "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": "enableForEligibleProducts",
                  "displayName": "Enable For Eligible Products",
                  "type": "checkbox",
                  "value": false
                },
                {
                  "name": "offerOnSubTotal",
                  "displayName": "Enable offer on Subtotal",
                  "type": "checkbox",
                  "value": false
                }
              ]
            },
            {
              "name": "Trade In Offer",
              "description": "Promotion applied on the Cart Trade In Value.",
              "className": "com.skava.promotion.ecomm.action.TradeInOffer",
              "conditionClasses": "com.skava.promotion.ecomm.model.PromotionCart,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 On Amount",
                  "allow_empty": false,
                  "allow_groups": false,
                  "value": {
                    "readonly": true,
                    "rules": [
                      {
                        "flags": {
                          "filter_readonly": false,
                          "no_delete": true,
                          "no_add_rule": true
                        },
                        "id": "summedUpOnAmount",
                        "field": "summedUpOnAmount",
                        "type": "integer",
                        "input": "text",
                        "operator": "equal",
                        "value": ""
                      }
                    ]
                  },
                  "filters": [
                    {
                      "id": "summedUpOnAmount",
                      "label": "Summed Up On Amount",
                      "type": "integer",
                      "operators": [
                        "equal",
                        "not_equal",
                        "less",
                        "less_or_equal",
                        "greater",
                        "greater_or_equal",
                        "between",
                        "not_between"
                      ]
                    },
                    {
                      "id": "summedUpOnPV",
                      "label": "Summed Up On PV",
                      "type": "integer",
                      "operators": [
                        "equal",
                        "not_equal",
                        "less",
                        "less_or_equal",
                        "greater",
                        "greater_or_equal",
                        "between",
                        "not_between"
                      ]
                    },
                    {
                      "id": "summedUpOnCV",
                      "label": "Summed Up On CV",
                      "type": "integer",
                      "operators": [
                        "equal",
                        "not_equal",
                        "less",
                        "less_or_equal",
                        "greater",
                        "greater_or_equal",
                        "between",
                        "not_between"
                      ]
                    },
                    {
                      "id": "summedUpOnQuantity",
                      "label": "Summed Up On Quantity",
                      "type": "integer",
                      "operators": [
                        "equal",
                        "not_equal",
                        "less",
                        "less_or_equal",
                        "greater",
                        "greater_or_equal",
                        "between",
                        "not_between"
                      ]
                    }
                  ]
                },
                {
                  "name": "offerValue",
                  "displayName": "Offer Amount"
                },
                {
                  "name": "enableForEligibleProducts",
                  "displayName": "Enable For Eligible Products",
                  "type": "checkbox",
                  "value": false
                },
                {
                  "name": "offerOnSubTotal",
                  "displayName": "Enable offer on Subtotal",
                  "type": "checkbox",
                  "value": false
                }
              ]
            }
          ]
        },
        {
          "displayName": "% Offer",
          "description": "Cart provided at Percentage Discounted Amount",
          "value": 3,
          "actions": [
            {
              "name": "Cart Price Offer",
              "description": "Promotion applied on the Cart Price.",
              "className": "com.skava.promotion.ecomm.action.CartPriceOff",
              "conditionClasses": "com.skava.promotion.ecomm.model.PromotionCart,com.skava.promotion.ecomm.model.PromotionUser,com.skava.promotion.ecomm.model.PromotionPayment,com.skava.promotion.ecomm.model.PromotionCookie,com.skava.promotion.ecomm.model.PromotionAccounts,com.skava.promotion.ecomm.model.PromotionSkip",
              "params": [
                {
                  "id": "id_skSummedUpAction",
                  "className": "clsCustomActionQB",
                  "name": "SummedUpAction",
                  "type": "querybuilder",
                  "displayName": "Summed Up On Amount",
                  "allow_empty": false,
                  "allow_groups": false,
                  "value": {
                    "readonly": true,
                    "rules": [
                      {
                        "flags": {
                          "filter_readonly": false,
                          "no_delete": true,
                          "no_add_rule": true
                        },
                        "id": "summedUpOnAmount",
                        "field": "summedUpOnAmount",
                        "type": "integer",
                        "input": "text",
                        "operator": "equal",
                        "value": ""
                      }
                    ]
                  },
                  "filters": [
                    {
                      "id": "summedUpOnAmount",
                      "label": "Summed Up On Amount",
                      "type": "integer",
                      "operators": [
                        "equal",
                        "not_equal",
                        "less",
                        "less_or_equal",
                        "greater",
                        "greater_or_equal",
                        "between",
                        "not_between"
                      ]
                    },
                    {
                      "id": "summedUpOnPV",
                      "label": "Summed Up On PV",
                      "type": "integer",
                      "operators": [
                        "equal",
                        "not_equal",
                        "less",
                        "less_or_equal",
                        "greater",
                        "greater_or_equal",
                        "between",
                        "not_between"
                      ]
                    },
                    {
                      "id": "summedUpOnCV",
                      "label": "Summed Up On CV",
                      "type": "integer",
                      "operators": [
                        "equal",
                        "not_equal",
                        "less",
                        "less_or_equal",
                        "greater",
                        "greater_or_equal",
                        "between",
                        "not_between"
                      ]
                    },
                    {
                      "id": "summedUpOnQuantity",
                      "label": "Summed Up On Quantity",
                      "type": "integer",
                      "operators": [
                        "equal",
                        "not_equal",
                        "less",
                        "less_or_equal",
                        "greater",
                        "greater_or_equal",
                        "between",
                        "not_between"
                      ]
                    }
                  ]
                },
                {
                  "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": "enableForEligibleProducts",
                  "displayName": "Enable For Eligible Products",
                  "type": "checkbox",
                  "value": false
                },
                {
                  "name": "offerOnSubTotal",
                  "displayName": "Enable offer on Subtotal",
                  "type": "checkbox",
                  "value": false
                }
              ]
            },
            {
              "name": "Trade In Offer",
              "description": "Promotion applied on the Cart Trade In Value.",
              "className": "com.skava.promotion.ecomm.action.TradeInOffer",
              "conditionClasses": "com.skava.promotion.ecomm.model.PromotionCart,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 On Amount",
                  "allow_empty": false,
                  "allow_groups": false,
                  "value": {
                    "readonly": true,
                    "rules": [
                      {
                        "flags": {
                          "filter_readonly": false,
                          "no_delete": true,
                          "no_add_rule": true
                        },
                        "id": "summedUpOnAmount",
                        "field": "summedUpOnAmount",
                        "type": "integer",
                        "input": "text",
                        "operator": "equal",
                        "value": ""
                      }
                    ]
                  },
                  "filters": [
                    {
                      "id": "summedUpOnAmount",
                      "label": "Summed Up On Amount",
                      "type": "integer",
                      "operators": [
                        "equal",
                        "not_equal",
                        "less",
                        "less_or_equal",
                        "greater",
                        "greater_or_equal",
                        "between",
                        "not_between"
                      ]
                    },
                    {
                      "id": "summedUpOnPV",
                      "label": "Summed Up On PV",
                      "type": "integer",
                      "operators": [
                        "equal",
                        "not_equal",
                        "less",
                        "less_or_equal",
                        "greater",
                        "greater_or_equal",
                        "between",
                        "not_between"
                      ]
                    },
                    {
                      "id": "summedUpOnCV",
                      "label": "Summed Up On CV",
                      "type": "integer",
                      "operators": [
                        "equal",
                        "not_equal",
                        "less",
                        "less_or_equal",
                        "greater",
                        "greater_or_equal",
                        "between",
                        "not_between"
                      ]
                    },
                    {
                      "id": "summedUpOnQuantity",
                      "label": "Summed Up On Quantity",
                      "type": "integer",
                      "operators": [
                        "equal",
                        "not_equal",
                        "less",
                        "less_or_equal",
                        "greater",
                        "greater_or_equal",
                        "between",
                        "not_between"
                      ]
                    }
                  ]
                },
                {
                  "name": "offerValue",
                  "displayName": "% Offer"
                },
                {
                  "name": "enableForEligibleProducts",
                  "displayName": "Enable For Eligible Products",
                  "type": "checkbox",
                  "value": false
                },
                {
                  "name": "offerOnSubTotal",
                  "displayName": "Enable offer on Subtotal",
                  "type": "checkbox",
                  "value": false
                }
              ]
            },
            {
              "name": "CartGWP",
              "description": "PromotionappliedontheCartGiftWithPurchase.",
              "className": "com.skava.promotion.ecomm.action.CartGiftWithPurchase",
              "conditionClasses": "com.skava.promotion.ecomm.model.PromotionCart,com.skava.promotion.ecomm.model.PromotionUser,com.skava.promotion.ecomm.model.PromotionAccounts",
              "params": [
                {
                  "id": "id_skSummedUpAction",
                  "className": "clsCustomActionQB",
                  "name": "SummedUpAction",
                  "type": "querybuilder",
                  "displayName": "Summed Up On Amount",
                  "allow_empty": false,
                  "allow_groups": false,
                  "value": {
                    "readonly": true,
                    "rules": [
                      {
                        "flags": {
                          "filter_readonly": false,
                          "no_delete": true,
                          "no_add_rule": true
                        },
                        "id": "summedUpOnAmount",
                        "field": "summedUpOnAmount",
                        "type": "integer",
                        "input": "text",
                        "operator": "equal",
                        "value": ""
                      }
                    ]
                  },
                  "filters": [
                    {
                      "id": "summedUpOnAmount",
                      "label": "Summed Up On Amount",
                      "type": "integer",
                      "operators": [
                        "equal",
                        "not_equal",
                        "less",
                        "less_or_equal",
                        "greater",
                        "greater_or_equal",
                        "between",
                        "not_between"
                      ]
                    },
                    {
                      "id": "summedUpOnPV",
                      "label": "Summed Up On PV",
                      "type": "integer",
                      "operators": [
                        "equal",
                        "not_equal",
                        "less",
                        "less_or_equal",
                        "greater",
                        "greater_or_equal",
                        "between",
                        "not_between"
                      ]
                    },
                    {
                      "id": "summedUpOnCV",
                      "label": "Summed Up On CV",
                      "type": "integer",
                      "operators": [
                        "equal",
                        "not_equal",
                        "less",
                        "less_or_equal",
                        "greater",
                        "greater_or_equal",
                        "between",
                        "not_between"
                      ]
                    },
                    {
                      "id": "summedUpOnQuantity",
                      "label": "Summed Up On Quantity",
                      "type": "integer",
                      "operators": [
                        "equal",
                        "not_equal",
                        "less",
                        "less_or_equal",
                        "greater",
                        "greater_or_equal",
                        "between",
                        "not_between"
                      ]
                    }
                  ]
                },
                {
                  "name": "giftProductId",
                  "displayName": "GiftProductId"
                },
                {
                  "name": "giftSkuId",
                  "displayName": "GiftSkuId"
                },
                {
                  "name": "giftQuantity",
                  "displayName": "GiftQuantity"
                },
                {
                  "name": "enableForEligibleProducts",
                  "displayName": "Enable For Eligible Products",
                  "type": "checkbox",
                  "value": false
                },
                {
                  "name": "giftCount",
                  "type": "text"
                },
                {
                  "name": "giftItems",
                  "type": "object",
                  "value": [
                    {
                      "name": "skuId",
                      "displayName": "sku id",
                      "type": "text"
                    },
                    {
                      "name": "productId",
                      "displayName": "product id",
                      "type": "text"
                    },
                    {
                      "name": "quantity",
                      "displayName": "quantity",
                      "type": "text"
                    },
                    {
                      "name": "optional",
                      "displayName": "optional",
                      "type": "text",
                      "value": false
                    }
                  ]
                },
                {
                  "name": "offerOnSubTotal",
                  "displayName": "Enable offer on Subtotal",
                  "type": "checkbox",
                  "value": false
                }
              ]
            }
          ]
        },
        {
          "displayName": "Formula",
          "description": "Cart provided at Formula Based Discounted Amount",
          "value": 4,
          "actions": [
            {
              "name": "Cart Price Offer",
              "description": "Promotion applied on the Cart Price.",
              "className": "com.skava.promotion.ecomm.action.CartPriceOff",
              "conditionClasses": "com.skava.promotion.ecomm.model.PromotionCart,com.skava.promotion.ecomm.model.PromotionUser,com.skava.promotion.ecomm.model.PromotionPayment,com.skava.promotion.ecomm.model.PromotionCookie,com.skava.promotion.ecomm.model.PromotionAccounts,com.skava.promotion.ecomm.model.PromotionSkip",
              "formulaClasses": "com.skava.promotion.ecomm.model.PromotionCart",
              "params": [
                {
                  "id": "id_skSummedUpAction",
                  "className": "clsCustomActionQB",
                  "name": "SummedUpAction",
                  "type": "querybuilder",
                  "displayName": "Summed Up On Amount",
                  "allow_empty": false,
                  "allow_groups": false,
                  "value": {
                    "readonly": true,
                    "rules": [
                      {
                        "flags": {
                          "filter_readonly": false,
                          "no_delete": true,
                          "no_add_rule": true
                        },
                        "id": "summedUpOnAmount",
                        "field": "summedUpOnAmount",
                        "type": "integer",
                        "input": "text",
                        "operator": "equal",
                        "value": ""
                      }
                    ]
                  },
                  "filters": [
                    {
                      "id": "summedUpOnAmount",
                      "label": "Summed Up On Amount",
                      "type": "integer",
                      "operators": [
                        "equal",
                        "not_equal",
                        "less",
                        "less_or_equal",
                        "greater",
                        "greater_or_equal",
                        "between",
                        "not_between"
                      ]
                    },
                    {
                      "id": "summedUpOnPV",
                      "label": "Summed Up On PV",
                      "type": "integer",
                      "operators": [
                        "equal",
                        "not_equal",
                        "less",
                        "less_or_equal",
                        "greater",
                        "greater_or_equal",
                        "between",
                        "not_between"
                      ]
                    },
                    {
                      "id": "summedUpOnCV",
                      "label": "Summed Up On CV",
                      "type": "integer",
                      "operators": [
                        "equal",
                        "not_equal",
                        "less",
                        "less_or_equal",
                        "greater",
                        "greater_or_equal",
                        "between",
                        "not_between"
                      ]
                    },
                    {
                      "id": "summedUpOnQuantity",
                      "label": "Summed Up On Quantity",
                      "type": "integer",
                      "operators": [
                        "equal",
                        "not_equal",
                        "less",
                        "less_or_equal",
                        "greater",
                        "greater_or_equal",
                        "between",
                        "not_between"
                      ]
                    }
                  ]
                },
                {
                  "name": "formula",
                  "displayName": "Formula"
                },
                {
                  "name": "enableForEligibleProducts",
                  "displayName": "Enable For Eligible Products",
                  "type": "checkbox",
                  "value": false
                },
                {
                  "name": "offerOnSubTotal",
                  "displayName": "Enable offer on Subtotal",
                  "type": "checkbox",
                  "value": false
                }
              ]
            }
          ]
        }
      ]
    },
    {
      "displayName": "Cart Shipping Rules",
      "description": "Promotion applied on Cart Shipping Price.",
      "name": "cartShipping",
      "value": 5,
      "conditionClasses": "com.skava.promotion.ecomm.model.PromotionCart,com.skava.promotion.ecomm.model.PromotionCoupon,com.skava.promotion.ecomm.model.PromotionUser,com.skava.promotion.ecomm.model.PromotionAccounts,com.skava.promotion.ecomm.model.PromotionSkip",
      "stopConditionClasses": "com.skava.promotion.ecomm.model.PromotionCart",
      "actionTypes": [
        {
          "displayName": "Fixed Offer",
          "description": "Cart provided at Fixed Shipping Amount",
          "value": 1,
          "actions": [
            {
              "name": "Cart Shipping Offer",
              "description": "Promotion applied on the Cart Shipping Price.",
              "className": "com.skava.promotion.ecomm.action.CartShippingOff",
              "conditionClasses": "com.skava.promotion.ecomm.model.PromotionCart,com.skava.promotion.ecomm.model.PromotionUser,com.skava.promotion.ecomm.model.PromotionPayment,com.skava.promotion.ecomm.model.PromotionCookie,com.skava.promotion.ecomm.model.PromotionAccounts,com.skava.promotion.ecomm.model.PromotionSkip",
              "params": [
                {
                  "name": "offerValue",
                  "displayName": "@ Amount"
                }
              ]
            }
          ]
        },
        {
          "displayName": "Amount Offer",
          "description": "Cart provided at Discounted Shipping Amount",
          "value": 2,
          "actions": [
            {
              "name": "Cart Shipping Offer",
              "description": "Promotion applied on the Cart Shipping Price.",
              "className": "com.skava.promotion.ecomm.action.CartShippingOff",
              "conditionClasses": "com.skava.promotion.ecomm.model.PromotionCart,com.skava.promotion.ecomm.model.PromotionUser,com.skava.promotion.ecomm.model.PromotionPayment,com.skava.promotion.ecomm.model.PromotionCookie,com.skava.promotion.ecomm.model.PromotionAccounts,com.skava.promotion.ecomm.model.PromotionSkip",
              "params": [
                {
                  "name": "offerValue",
                  "displayName": "Offer Amount"
                }
              ]
            }
          ]
        },
        {
          "displayName": "% Offer",
          "description": "Cart provided at Percentage Discounted Shipping Amount",
          "value": 3,
          "actions": [
            {
              "name": "Cart Shipping Offer",
              "description": "Promotion applied on the Cart Shipping Price.",
              "className": "com.skava.promotion.ecomm.action.CartShippingOff",
              "conditionClasses": "com.skava.promotion.ecomm.model.PromotionCart,com.skava.promotion.ecomm.model.PromotionUser,com.skava.promotion.ecomm.model.PromotionPayment,com.skava.promotion.ecomm.model.PromotionCookie,com.skava.promotion.ecomm.model.PromotionAccounts,com.skava.promotion.ecomm.model.PromotionSkip",
              "params": [
                {
                  "name": "offerValue",
                  "displayName": "% Offer"
                },
                {
                  "name": "minimumDiscountAmount",
                  "displayName": "Minimum Discount Amount(Optional)"
                },
                {
                  "name": "maximumDiscountAmount",
                  "displayName": "Maximum Discount Amount(Optional)"
                }
              ]
            }
          ]
        },
        {
          "displayName": "Formula",
          "description": "Cart provided at Formula Based Discounted Shipping Amount",
          "value": 4,
          "actions": [
            {
              "name": "Cart Shipping Offer",
              "description": "Promotion applied on the Cart Shipping Price.",
              "className": "com.skava.promotion.ecomm.action.CartShippingOff",
              "conditionClasses": "com.skava.promotion.ecomm.model.PromotionCart,com.skava.promotion.ecomm.model.PromotionUser,com.skava.promotion.ecomm.model.PromotionPayment,com.skava.promotion.ecomm.model.PromotionCookie,com.skava.promotion.ecomm.model.PromotionAccounts,com.skava.promotion.ecomm.model.PromotionSkip",
              "formulaClasses": "com.skava.promotion.ecomm.model.PromotionCart",
              "params": [
                {
                  "name": "formula",
                  "displayName": "Formula"
                }
              ]
            }
          ]
        }
      ]
    }
  ],
  "actionTypes": [
    {
      "displayName": "Fixed Offer",
      "value": 1
    },
    {
      "displayName": "Amount Offer",
      "value": 2
    },
    {
      "displayName": "% Offer",
      "value": 3
    },
    {
      "displayName": "Formula",
      "value": 4
    }
  ]
}