DiscountPlansDto Data Type

The Class DiscountPlansDto.

Implemented Interfaces
Serializable
Properties
name data type description
discountPlan array of DiscountPlanDto The discount plan.

Example

{
  "discountPlan" : [ {
    "disabled" : true,
    "id" : 12345,
    "auditableField" : [ {
      "entityClass" : "...",
      "fieldName" : "...",
      "id" : 12345,
      "changeOrigin" : "...",
      "auditableField" : [ { }, { } ],
      "originName" : "...",
      "code" : "...",
      "previousState" : "...",
      "currentState" : "...",
      "description" : "...",
      "created" : "...",
      "updatedCode" : "...",
      "actor" : "..."
    }, {
      "entityClass" : "...",
      "fieldName" : "...",
      "id" : 12345,
      "changeOrigin" : "...",
      "auditableField" : [ { }, { } ],
      "originName" : "...",
      "code" : "...",
      "previousState" : "...",
      "currentState" : "...",
      "description" : "...",
      "created" : "...",
      "updatedCode" : "...",
      "actor" : "..."
    } ],
    "code" : "...",
    "description" : "...",
    "startDate" : 12345,
    "updatedCode" : "...",
    "endDate" : 12345,
    "defaultDuration" : 12345,
    "durationUnit" : "DAY",
    "customFields" : {
      "customField" : [ { }, { } ],
      "inheritedCustomField" : [ { }, { } ]
    },
    "discountPlanItem" : [ {
      "code" : "...",
      "discountPlanCode" : "...",
      "invoiceCategoryCode" : "...",
      "invoiceSubCategoryCode" : "...",
      "expressionEl" : "...",
      "disabled" : true,
      "discountPlanItemType" : "FIXED",
      "discountValue" : 12345.0,
      "discountValueEL" : "...",
      "targetAccountingArticleCodes" : [ "...", "..." ],
      "pricePlanMatrixCode" : "...",
      "customFields" : { },
      "allowToNegate" : true,
      "description" : "...",
      "priority" : 12345,
      "accountingArticleCode" : "...",
      "applyByArticle" : true,
      "sequence" : 12345,
      "lastDiscount" : true
    }, {
      "code" : "...",
      "discountPlanCode" : "...",
      "invoiceCategoryCode" : "...",
      "invoiceSubCategoryCode" : "...",
      "expressionEl" : "...",
      "disabled" : true,
      "discountPlanItemType" : "FIXED",
      "discountValue" : 12345.0,
      "discountValueEL" : "...",
      "targetAccountingArticleCodes" : [ "...", "..." ],
      "pricePlanMatrixCode" : "...",
      "customFields" : { },
      "allowToNegate" : true,
      "description" : "...",
      "priority" : 12345,
      "accountingArticleCode" : "...",
      "applyByArticle" : true,
      "sequence" : 12345,
      "lastDiscount" : true
    } ],
    "expressionEl" : "...",
    "discountPlanType" : "PROMO_CODE",
    "status" : "EXPIRED",
    "statusDate" : 12345,
    "initialQuantity" : 12345,
    "usedQuantity" : 12345,
    "applicationLimit" : 12345,
    "applicationFilterEL" : "...",
    "incompatibleDiscountPlans" : [ { }, { } ],
    "applicableEntities" : [ {
      "code" : "...",
      "entityClass" : "..."
    }, {
      "code" : "...",
      "entityClass" : "..."
    } ],
    "applicableOnOverriddenPrice" : true,
    "sequence" : 12345,
    "applicableOnDiscountedPrice" : true
  }, {
    "disabled" : true,
    "id" : 12345,
    "auditableField" : [ {
      "entityClass" : "...",
      "fieldName" : "...",
      "id" : 12345,
      "changeOrigin" : "...",
      "auditableField" : [ { }, { } ],
      "originName" : "...",
      "code" : "...",
      "previousState" : "...",
      "currentState" : "...",
      "description" : "...",
      "created" : "...",
      "updatedCode" : "...",
      "actor" : "..."
    }, {
      "entityClass" : "...",
      "fieldName" : "...",
      "id" : 12345,
      "changeOrigin" : "...",
      "auditableField" : [ { }, { } ],
      "originName" : "...",
      "code" : "...",
      "previousState" : "...",
      "currentState" : "...",
      "description" : "...",
      "created" : "...",
      "updatedCode" : "...",
      "actor" : "..."
    } ],
    "code" : "...",
    "description" : "...",
    "startDate" : 12345,
    "updatedCode" : "...",
    "endDate" : 12345,
    "defaultDuration" : 12345,
    "durationUnit" : "MONTH",
    "customFields" : {
      "customField" : [ { }, { } ],
      "inheritedCustomField" : [ { }, { } ]
    },
    "discountPlanItem" : [ {
      "code" : "...",
      "discountPlanCode" : "...",
      "invoiceCategoryCode" : "...",
      "invoiceSubCategoryCode" : "...",
      "expressionEl" : "...",
      "disabled" : true,
      "discountPlanItemType" : "FIXED",
      "discountValue" : 12345.0,
      "discountValueEL" : "...",
      "targetAccountingArticleCodes" : [ "...", "..." ],
      "pricePlanMatrixCode" : "...",
      "customFields" : { },
      "allowToNegate" : true,
      "description" : "...",
      "priority" : 12345,
      "accountingArticleCode" : "...",
      "applyByArticle" : true,
      "sequence" : 12345,
      "lastDiscount" : true
    }, {
      "code" : "...",
      "discountPlanCode" : "...",
      "invoiceCategoryCode" : "...",
      "invoiceSubCategoryCode" : "...",
      "expressionEl" : "...",
      "disabled" : true,
      "discountPlanItemType" : "PERCENTAGE",
      "discountValue" : 12345.0,
      "discountValueEL" : "...",
      "targetAccountingArticleCodes" : [ "...", "..." ],
      "pricePlanMatrixCode" : "...",
      "customFields" : { },
      "allowToNegate" : true,
      "description" : "...",
      "priority" : 12345,
      "accountingArticleCode" : "...",
      "applyByArticle" : true,
      "sequence" : 12345,
      "lastDiscount" : true
    } ],
    "expressionEl" : "...",
    "discountPlanType" : "QUOTE",
    "status" : "ACTIVE",
    "statusDate" : 12345,
    "initialQuantity" : 12345,
    "usedQuantity" : 12345,
    "applicationLimit" : 12345,
    "applicationFilterEL" : "...",
    "incompatibleDiscountPlans" : [ { }, { } ],
    "applicableEntities" : [ {
      "code" : "...",
      "entityClass" : "..."
    }, {
      "code" : "...",
      "entityClass" : "..."
    } ],
    "applicableOnOverriddenPrice" : true,
    "sequence" : 12345,
    "applicableOnDiscountedPrice" : true
  } ]
}