SubscriptionAndServicesToActivateRequestDto Data Type

The Class SubscriptionAndServicesToActivateRequestDto.

Implemented Interfaces
Serializable
Properties
name data type constraints description
servicesToActivate ServicesToActivateDto   The subscription.
id number   The id.
auditableField array of AuditableFieldDto  
code string required The code
description string   The description
versionNumber number  
updatedCode string   The updated code.
nextVersion number  
previousVersion number  
userAccount string   The user account.
offerTemplate string   The offer template.
subscriptionDate number   The subscription date.
terminationDate number   The termination date.
endAgreementDate number   The end agreement date.
status SubscriptionStatusEnum   The status.
statusDate number   The status date.
validityDate number   The validity date.
customFields CustomFieldsDto   The custom fields.
accesses AccessesDto   The accesses.
services ServiceInstancesDto   The services.
products ProductsDto   Use in creation and update.
productInstances array of ProductInstanceDto   Use in find.
productsToInstantiate array of ProductToInstantiateDto  
terminationReason string   The termination reason.
orderNumber string   The order number.
minimumAmountEl string   Expression to determine minimum amount value
minimumLabelEl string   Expression to determine rated transaction description to reach minimum amount value
minimumInvoiceSubCategory string   Corresponding to minimum invoice subcategory
minimumChargeTemplate string   Corresponding to minimum one shot charge template code.
subscribedTillDate number   A date till which subscription is subscribed. After this date it will either be extended or terminated
renewed boolean   Was subscription renewed.
renewalNotifiedDate number   Was/when "endOfTerm" notification fired for soon to expire subscription.
renewalRule SubscriptionRenewalDto   The renewal rule.
billingCycle string   The billing cycle.
seller string   The seller.
autoEndOfEngagement boolean   The auto end of engagement.
ratingGroup string   String value matched in the usageRatingJob to group the EDRs for rating.
electronicBilling boolean   The electronic billing.
email string   The email.
mailingType string   Mailing type
emailTemplate string   Email Template code
ccedEmails string   A list of emails separated by comma
discountPlanForInstantiation array of DiscountPlanDto   List of discount plans. Use in instantiating DiscountPlanInstance.
discountPlanForTermination array of string   List of discount plans to be disassociated from subscription
discountPlanInstance array of DiscountPlanInstanceDto   Use to return the active discount plans for this entity.
paymentMethod PaymentMethodDto   Use to return the paymentMethod.
customerService string  
salesPersonName string  

Example

{
  "servicesToActivate" : {
    "service" : [ {
      "id" : 12345,
      "code" : "...",
      "overrideCode" : "...",
      "description" : "...",
      "quantity" : 12345.0,
      "subscriptionDate" : 12345,
      "chargeInstanceOverrides" : { },
      "customFields" : { },
      "rateUntilDate" : 12345,
      "amountPS" : 12345.0,
      "calendarPSCode" : "...",
      "paymentDayInMonthPS" : 12345,
      "minimumAmountEl" : "...",
      "minimumLabelEl" : "...",
      "minimumInvoiceSubCategory" : "...",
      "minimumChargeTemplate" : "...",
      "subscribedTillDate" : 12345,
      "serviceRenewal" : { }
    }, {
      "id" : 12345,
      "code" : "...",
      "overrideCode" : "...",
      "description" : "...",
      "quantity" : 12345.0,
      "subscriptionDate" : 12345,
      "chargeInstanceOverrides" : { },
      "customFields" : { },
      "rateUntilDate" : 12345,
      "amountPS" : 12345.0,
      "calendarPSCode" : "...",
      "paymentDayInMonthPS" : 12345,
      "minimumAmountEl" : "...",
      "minimumLabelEl" : "...",
      "minimumInvoiceSubCategory" : "...",
      "minimumChargeTemplate" : "...",
      "subscribedTillDate" : 12345,
      "serviceRenewal" : { }
    } ]
  },
  "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" : "...",
  "versionNumber" : 12345,
  "updatedCode" : "...",
  "nextVersion" : 12345,
  "previousVersion" : 12345,
  "userAccount" : "...",
  "offerTemplate" : "...",
  "subscriptionDate" : 12345,
  "terminationDate" : 12345,
  "endAgreementDate" : 12345,
  "status" : "RESILIATED",
  "statusDate" : 12345,
  "validityDate" : 12345,
  "customFields" : {
    "customField" : [ {
      "code" : "...",
      "description" : "...",
      "fieldType" : "STRING",
      "languageDescriptions" : [ { }, { } ],
      "valueDate" : 12345,
      "valuePeriodStartDate" : 12345,
      "valuePeriodEndDate" : 12345,
      "valuePeriodPriority" : 12345,
      "stringValue" : "...",
      "dateValue" : 12345,
      "longValue" : 12345,
      "doubleValue" : 12345.0,
      "booleanValue" : true,
      "value" : [ { }, { } ],
      "mapValue" : {
        "property1" : { },
        "property2" : { }
      },
      "entityReferenceValue" : { },
      "indexType" : "INDEX",
      "fileValue" : "...",
      "formattedValue" : { },
      "urlReferenceValue" : { },
      "guiPosition" : "...",
      "customTableCode" : "...",
      "dataFilter" : "...",
      "fields" : "..."
    }, {
      "code" : "...",
      "description" : "...",
      "fieldType" : "CHILD_ENTITY",
      "languageDescriptions" : [ { }, { } ],
      "valueDate" : 12345,
      "valuePeriodStartDate" : 12345,
      "valuePeriodEndDate" : 12345,
      "valuePeriodPriority" : 12345,
      "stringValue" : "...",
      "dateValue" : 12345,
      "longValue" : 12345,
      "doubleValue" : 12345.0,
      "booleanValue" : true,
      "value" : [ { }, { } ],
      "mapValue" : {
        "property1" : { },
        "property2" : { }
      },
      "entityReferenceValue" : { },
      "indexType" : "STORE_ONLY",
      "fileValue" : "...",
      "formattedValue" : { },
      "urlReferenceValue" : { },
      "guiPosition" : "...",
      "customTableCode" : "...",
      "dataFilter" : "...",
      "fields" : "..."
    } ],
    "inheritedCustomField" : [ {
      "code" : "...",
      "description" : "...",
      "fieldType" : "DOUBLE",
      "languageDescriptions" : [ { }, { } ],
      "valueDate" : 12345,
      "valuePeriodStartDate" : 12345,
      "valuePeriodEndDate" : 12345,
      "valuePeriodPriority" : 12345,
      "stringValue" : "...",
      "dateValue" : 12345,
      "longValue" : 12345,
      "doubleValue" : 12345.0,
      "booleanValue" : true,
      "value" : [ { }, { } ],
      "mapValue" : {
        "property1" : { },
        "property2" : { }
      },
      "entityReferenceValue" : { },
      "indexType" : "INDEX_NOT_ANALYZE",
      "fileValue" : "...",
      "formattedValue" : { },
      "urlReferenceValue" : { },
      "guiPosition" : "...",
      "customTableCode" : "...",
      "dataFilter" : "...",
      "fields" : "..."
    }, {
      "code" : "...",
      "description" : "...",
      "fieldType" : "LONG",
      "languageDescriptions" : [ { }, { } ],
      "valueDate" : 12345,
      "valuePeriodStartDate" : 12345,
      "valuePeriodEndDate" : 12345,
      "valuePeriodPriority" : 12345,
      "stringValue" : "...",
      "dateValue" : 12345,
      "longValue" : 12345,
      "doubleValue" : 12345.0,
      "booleanValue" : true,
      "value" : [ { }, { } ],
      "mapValue" : {
        "property1" : { },
        "property2" : { }
      },
      "entityReferenceValue" : { },
      "indexType" : "INDEX_NOT_ANALYZE",
      "fileValue" : "...",
      "formattedValue" : { },
      "urlReferenceValue" : { },
      "guiPosition" : "...",
      "customTableCode" : "...",
      "dataFilter" : "...",
      "fields" : "..."
    } ]
  },
  "accesses" : {
    "access" : [ {
      "code" : "...",
      "subscription" : "...",
      "subscriptionValidityDate" : 12345,
      "startDate" : 12345,
      "endDate" : 12345,
      "customFields" : { },
      "disabled" : true
    }, {
      "code" : "...",
      "subscription" : "...",
      "subscriptionValidityDate" : 12345,
      "startDate" : 12345,
      "endDate" : 12345,
      "customFields" : { },
      "disabled" : true
    } ]
  },
  "services" : {
    "serviceInstance" : [ {
      "id" : 12345,
      "auditableField" : [ { }, { } ],
      "code" : "...",
      "description" : "...",
      "status" : "SUSPENDED",
      "statusDate" : 12345,
      "updatedCode" : "...",
      "subscriptionDate" : 12345,
      "reactivationDate" : 12345,
      "terminationDate" : 12345,
      "priceVersionDateSetting" : "EVENT",
      "priceVersionDate" : 12345,
      "quantity" : 12345.0,
      "terminationReason" : "...",
      "endAgreementDate" : 12345,
      "customFields" : { },
      "recurringChargeInstance" : [ { }, { } ],
      "subscriptionChargeInstance" : [ { }, { } ],
      "terminationChargeInstance" : [ { }, { } ],
      "usageChargeInstance" : [ { }, { } ],
      "attributeInstances" : [ { }, { } ],
      "orderNumber" : "...",
      "rateUntilDate" : 12345,
      "amountPS" : 12345.0,
      "calendarPSCode" : "...",
      "paymentDayInMonthPS" : 12345,
      "minimumAmountEl" : "...",
      "minimumLabelEl" : "...",
      "dueDateDaysPS" : 12345,
      "autoEndOfEngagement" : true,
      "minimumChargeTemplate" : "...",
      "subscribedTillDate" : 12345,
      "serviceRenewal" : { },
      "deliveryDate" : 12345
    }, {
      "id" : 12345,
      "auditableField" : [ { }, { } ],
      "code" : "...",
      "description" : "...",
      "status" : "PENDING",
      "statusDate" : 12345,
      "updatedCode" : "...",
      "subscriptionDate" : 12345,
      "reactivationDate" : 12345,
      "terminationDate" : 12345,
      "priceVersionDateSetting" : "RENEWAL",
      "priceVersionDate" : 12345,
      "quantity" : 12345.0,
      "terminationReason" : "...",
      "endAgreementDate" : 12345,
      "customFields" : { },
      "recurringChargeInstance" : [ { }, { } ],
      "subscriptionChargeInstance" : [ { }, { } ],
      "terminationChargeInstance" : [ { }, { } ],
      "usageChargeInstance" : [ { }, { } ],
      "attributeInstances" : [ { }, { } ],
      "orderNumber" : "...",
      "rateUntilDate" : 12345,
      "amountPS" : 12345.0,
      "calendarPSCode" : "...",
      "paymentDayInMonthPS" : 12345,
      "minimumAmountEl" : "...",
      "minimumLabelEl" : "...",
      "dueDateDaysPS" : 12345,
      "autoEndOfEngagement" : true,
      "minimumChargeTemplate" : "...",
      "subscribedTillDate" : 12345,
      "serviceRenewal" : { },
      "deliveryDate" : 12345
    } ]
  },
  "products" : {
    "products" : [ {
      "code" : "...",
      "description" : "...",
      "chargeDate" : 12345,
      "quantity" : 12345.0,
      "amountWithoutTax" : 12345.0,
      "amountWithTax" : 12345.0,
      "criteria1" : "...",
      "criteria2" : "...",
      "criteria3" : "...",
      "customFields" : { }
    }, {
      "code" : "...",
      "description" : "...",
      "chargeDate" : 12345,
      "quantity" : 12345.0,
      "amountWithoutTax" : 12345.0,
      "amountWithTax" : 12345.0,
      "criteria1" : "...",
      "criteria2" : "...",
      "criteria3" : "...",
      "customFields" : { }
    } ]
  },
  "productInstances" : [ {
    "id" : 12345,
    "applicationDate" : 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" : "..."
    } ],
    "quantity" : 12345.0,
    "code" : "...",
    "orderNumber" : "...",
    "productChargeInstance" : [ {
      "quantity" : 12345.0,
      "status" : "...",
      "amountWithTax" : 12345.0,
      "id" : 12345,
      "auditableField" : [ { }, { } ],
      "amountWithoutTax" : 12345.0,
      "sellerCode" : "...",
      "code" : "...",
      "userAccountCode" : "...",
      "customFields" : { },
      "description" : "...",
      "updatedCode" : "..."
    }, {
      "quantity" : 12345.0,
      "status" : "...",
      "amountWithTax" : 12345.0,
      "id" : 12345,
      "auditableField" : [ { }, { } ],
      "amountWithoutTax" : 12345.0,
      "sellerCode" : "...",
      "code" : "...",
      "userAccountCode" : "...",
      "customFields" : { },
      "description" : "...",
      "updatedCode" : "..."
    } ],
    "description" : "...",
    "customFields" : {
      "customField" : [ { }, { } ],
      "inheritedCustomField" : [ { }, { } ]
    },
    "updatedCode" : "..."
  }, {
    "id" : 12345,
    "applicationDate" : 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" : "..."
    } ],
    "quantity" : 12345.0,
    "code" : "...",
    "orderNumber" : "...",
    "productChargeInstance" : [ {
      "quantity" : 12345.0,
      "status" : "...",
      "amountWithTax" : 12345.0,
      "id" : 12345,
      "auditableField" : [ { }, { } ],
      "amountWithoutTax" : 12345.0,
      "sellerCode" : "...",
      "code" : "...",
      "userAccountCode" : "...",
      "customFields" : { },
      "description" : "...",
      "updatedCode" : "..."
    }, {
      "quantity" : 12345.0,
      "status" : "...",
      "amountWithTax" : 12345.0,
      "id" : 12345,
      "auditableField" : [ { }, { } ],
      "amountWithoutTax" : 12345.0,
      "sellerCode" : "...",
      "code" : "...",
      "userAccountCode" : "...",
      "customFields" : { },
      "description" : "...",
      "updatedCode" : "..."
    } ],
    "description" : "...",
    "customFields" : {
      "customField" : [ { }, { } ],
      "inheritedCustomField" : [ { }, { } ]
    },
    "updatedCode" : "..."
  } ],
  "productsToInstantiate" : [ {
    "productCode" : "...",
    "quantity" : 12345.0,
    "deliveryDate" : 12345,
    "attributeInstances" : [ {
      "attributeCode" : "...",
      "parentAttributeValueId" : 12345,
      "commercialOrderId" : 12345,
      "assignedAttributeValueIds" : [ 12345, 12345 ],
      "orderAttributeCode" : "...",
      "customFieldDto" : { },
      "attributeType" : "LIST_NUMERIC",
      "orderAttributeId" : 12345,
      "orderLotCode" : "...",
      "orderProductId" : 12345,
      "orderOfferId" : 12345,
      "accessPoint" : "...",
      "linkedOrderAttribute" : [ { }, { } ],
      "stringValue" : "...",
      "doubleValue" : 12345.0,
      "dateValue" : 12345,
      "booleanValue" : true
    }, {
      "attributeCode" : "...",
      "parentAttributeValueId" : 12345,
      "commercialOrderId" : 12345,
      "assignedAttributeValueIds" : [ 12345, 12345 ],
      "orderAttributeCode" : "...",
      "customFieldDto" : { },
      "attributeType" : "TOTAL",
      "orderAttributeId" : 12345,
      "orderLotCode" : "...",
      "orderProductId" : 12345,
      "orderOfferId" : 12345,
      "accessPoint" : "...",
      "linkedOrderAttribute" : [ { }, { } ],
      "stringValue" : "...",
      "doubleValue" : 12345.0,
      "dateValue" : 12345,
      "booleanValue" : true
    } ],
    "customFields" : {
      "customField" : [ { }, { } ],
      "inheritedCustomField" : [ { }, { } ]
    }
  }, {
    "productCode" : "...",
    "quantity" : 12345.0,
    "deliveryDate" : 12345,
    "attributeInstances" : [ {
      "attributeCode" : "...",
      "parentAttributeValueId" : 12345,
      "commercialOrderId" : 12345,
      "assignedAttributeValueIds" : [ 12345, 12345 ],
      "orderAttributeCode" : "...",
      "customFieldDto" : { },
      "attributeType" : "EMAIL",
      "orderAttributeId" : 12345,
      "orderLotCode" : "...",
      "orderProductId" : 12345,
      "orderOfferId" : 12345,
      "accessPoint" : "...",
      "linkedOrderAttribute" : [ { }, { } ],
      "stringValue" : "...",
      "doubleValue" : 12345.0,
      "dateValue" : 12345,
      "booleanValue" : true
    }, {
      "attributeCode" : "...",
      "parentAttributeValueId" : 12345,
      "commercialOrderId" : 12345,
      "assignedAttributeValueIds" : [ 12345, 12345 ],
      "orderAttributeCode" : "...",
      "customFieldDto" : { },
      "attributeType" : "EMAIL",
      "orderAttributeId" : 12345,
      "orderLotCode" : "...",
      "orderProductId" : 12345,
      "orderOfferId" : 12345,
      "accessPoint" : "...",
      "linkedOrderAttribute" : [ { }, { } ],
      "stringValue" : "...",
      "doubleValue" : 12345.0,
      "dateValue" : 12345,
      "booleanValue" : true
    } ],
    "customFields" : {
      "customField" : [ { }, { } ],
      "inheritedCustomField" : [ { }, { } ]
    }
  } ],
  "terminationReason" : "...",
  "orderNumber" : "...",
  "minimumAmountEl" : "...",
  "minimumLabelEl" : "...",
  "minimumChargeTemplate" : "...",
  "subscribedTillDate" : 12345,
  "renewed" : true,
  "renewalNotifiedDate" : 12345,
  "renewalRule" : {
    "initialTermType" : "FIXED",
    "renewalTermType" : "RECURRING",
    "initialyActiveFor" : 12345,
    "initialyActiveForUnit" : "MONTH",
    "calendarInitialyActiveFor" : {
      "id" : 12345,
      "auditableField" : [ { }, { } ],
      "code" : "...",
      "description" : "...",
      "updatedCode" : "...",
      "calendarType" : "YEARLY",
      "fixedDates" : [ "...", "..." ],
      "days" : [ { }, { } ],
      "hours" : [ { }, { } ],
      "periodLength" : 12345,
      "periodUnit" : "DAY_OF_MONTH",
      "nbPeriods" : 12345,
      "joinCalendar1Code" : "...",
      "joinCalendar2Code" : "...",
      "intervalType" : "DAY",
      "intervals" : [ { }, { } ],
      "weekendBegin" : 12345,
      "weekendEnd" : 12345,
      "endDate" : 12345,
      "startDate" : 12345,
      "initDateEL" : "...",
      "holidays" : [ { }, { } ],
      "languageDescriptions" : [ { }, { } ]
    },
    "autoRenew" : true,
    "daysNotifyRenewal" : 12345,
    "endOfTermAction" : "TERMINATE",
    "terminationReasonCode" : "...",
    "renewFor" : 12345,
    "calendarRenewFor" : {
      "id" : 12345,
      "auditableField" : [ { }, { } ],
      "code" : "...",
      "description" : "...",
      "updatedCode" : "...",
      "calendarType" : "APPEND",
      "fixedDates" : [ "...", "..." ],
      "days" : [ { }, { } ],
      "hours" : [ { }, { } ],
      "periodLength" : 12345,
      "periodUnit" : "HOUR_OF_DAY",
      "nbPeriods" : 12345,
      "joinCalendar1Code" : "...",
      "joinCalendar2Code" : "...",
      "intervalType" : "DAY",
      "intervals" : [ { }, { } ],
      "weekendBegin" : 12345,
      "weekendEnd" : 12345,
      "endDate" : 12345,
      "startDate" : 12345,
      "initDateEL" : "...",
      "holidays" : [ { }, { } ],
      "languageDescriptions" : [ { }, { } ]
    },
    "renewForUnit" : "DAY",
    "extendAgreementPeriodToSubscribedTillDate" : true
  },
  "billingCycle" : "...",
  "seller" : "...",
  "autoEndOfEngagement" : true,
  "ratingGroup" : "...",
  "electronicBilling" : true,
  "email" : "...",
  "mailingType" : "...",
  "emailTemplate" : "...",
  "ccedEmails" : "...",
  "discountPlanForInstantiation" : [ {
    "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" : "PERCENTAGE",
      "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" : "DRAFT",
    "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" : "PERCENTAGE",
      "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" : "OFFER",
    "status" : "DRAFT",
    "statusDate" : 12345,
    "initialQuantity" : 12345,
    "usedQuantity" : 12345,
    "applicationLimit" : 12345,
    "applicationFilterEL" : "...",
    "incompatibleDiscountPlans" : [ { }, { } ],
    "applicableEntities" : [ {
      "code" : "...",
      "entityClass" : "..."
    }, {
      "code" : "...",
      "entityClass" : "..."
    } ],
    "applicableOnOverriddenPrice" : true,
    "sequence" : 12345,
    "applicableOnDiscountedPrice" : true
  } ],
  "discountPlanForTermination" : [ "...", "..." ],
  "discountPlanInstance" : [ {
    "discountPlan" : "...",
    "billingAccount" : "...",
    "subscription" : "...",
    "startDate" : 12345,
    "endDate" : 12345,
    "customFields" : {
      "customField" : [ { }, { } ],
      "inheritedCustomField" : [ { }, { } ]
    },
    "status" : "IN_USE",
    "statusDate" : 12345,
    "applicationCount" : 12345
  }, {
    "discountPlan" : "...",
    "billingAccount" : "...",
    "subscription" : "...",
    "startDate" : 12345,
    "endDate" : 12345,
    "customFields" : {
      "customField" : [ { }, { } ],
      "inheritedCustomField" : [ { }, { } ]
    },
    "status" : "IN_USE",
    "statusDate" : 12345,
    "applicationCount" : 12345
  } ],
  "paymentMethod" : {
    "paymentMethodType" : "CHECK",
    "id" : 12345,
    "disabled" : true,
    "alias" : "...",
    "preferred" : true,
    "customerAccountCode" : "...",
    "info1" : "...",
    "info2" : "...",
    "info3" : "...",
    "info4" : "...",
    "info5" : "...",
    "bankCoordinates" : {
      "bankCode" : "...",
      "branchCode" : "...",
      "accountNumber" : "...",
      "key" : "...",
      "iban" : "...",
      "bic" : "...",
      "accountOwner" : "...",
      "bankName" : "...",
      "bankId" : "...",
      "issuerNumber" : "...",
      "issuerName" : "...",
      "ics" : "..."
    },
    "mandateIdentification" : "...",
    "mandateDate" : 12345,
    "cardType" : "AMERICAN_EXPRESS",
    "owner" : "...",
    "monthExpiration" : 12345,
    "yearExpiration" : 12345,
    "tokenId" : "...",
    "cardNumber" : "...",
    "issueNumber" : "...",
    "userId" : "...",
    "email" : "...",
    "referenceDocumentCode" : "...",
    "customFields" : {
      "customField" : [ { }, { } ],
      "inheritedCustomField" : [ { }, { } ]
    }
  },
  "customerService" : "...",
  "salesPersonName" : "..."
}