RevenueRecognitionRuleDto Data Type

Properties
name data type description
code string
description string
disabled boolean
startDelay number
startUnit RevenueRecognitionDelayUnitEnum
startEvent RevenueRecognitionEventEnum
stopDelay number
stopUnit RevenueRecognitionDelayUnitEnum
stopEvent RevenueRecognitionEventEnum
script ScriptInstanceDto

Example

{
  "code" : "...",
  "description" : "...",
  "disabled" : true,
  "startDelay" : 12345,
  "startUnit" : "MONTH",
  "startEvent" : "SUBSCRIPTION_START",
  "stopDelay" : 12345,
  "stopUnit" : "MONTH",
  "stopEvent" : "INVOICE_DATE",
  "script" : {
    "executionRoles" : [ {
      "name" : "...",
      "description" : "...",
      "permission" : [ { }, { } ],
      "role" : [ { }, { } ]
    }, {
      "name" : "...",
      "description" : "...",
      "permission" : [ { }, { } ],
      "role" : [ { }, { } ]
    } ],
    "sourcingRoles" : [ {
      "name" : "...",
      "description" : "...",
      "permission" : [ { }, { } ],
      "role" : [ { }, { } ]
    }, {
      "name" : "...",
      "description" : "...",
      "permission" : [ { }, { } ],
      "role" : [ { }, { } ]
    } ],
    "code" : "...",
    "description" : "...",
    "type" : "JAVA",
    "script" : "..."
  }
}