CounterPeriod Data Type

Implemented Interfaces
Serializable
Properties
name data type description
counterType CounterTypeEnum
level number
counterInstance CounterInstance
notificationLevels string
value number
periodEndDate number
periodStartDate number
notificationLevelsAsMap map of number
Properties inherited from BusinessEntity
parentEntityType object
code string
parentEntity BusinessEntity
description string
appendGeneratedCode boolean
descriptionOrCode string
Properties inherited from EnableEntity
active boolean
disabled boolean
Properties inherited from AuditableEntity
auditable Auditable
Properties inherited from BaseEntity
id number
transient boolean
version number

Example

{
  "counterType" : "USAGE",
  "level" : 12345.0,
  "counterInstance" : {
    "billingAccount" : {
      "status" : "CLOSED",
      "billingRun" : { },
      "brAmountWithTax" : 12345.0,
      "paymentMethod" : "DIRECTDEBIT",
      "tradingCountry" : { },
      "parentCFEntities" : [ { }, { } ],
      "parentEntityType" : { },
      "billingCycle" : { },
      "brAmountWithoutTax" : 12345.0,
      "ratedTransactions" : [ { }, { } ],
      "terminationReason" : { },
      "invoicingThreshold" : 12345.0,
      "invoicePrefix" : "...",
      "statusDate" : 12345,
      "terminationDate" : 12345,
      "nextInvoiceDate" : 12345,
      "tradingLanguage" : { },
      "invoices" : [ { }, { } ],
      "bankCoordinates" : { },
      "discountRate" : 12345.0,
      "discountPlan" : { },
      "counters" : {
        "property1" : { },
        "property2" : { }
      },
      "subscriptionDate" : 12345,
      "billingRunLists" : [ { }, { } ],
      "parentEntity" : { },
      "invoiceAgregates" : [ { }, { } ],
      "email" : "...",
      "usersAccounts" : [ { }, { } ],
      "electronicBilling" : true,
      "customerAccount" : { },
      "paymentTerm" : "THREE_X",
      "defaultLevel" : true,
      "accountType" : "...",
      "name" : { },
      "externalRef1" : "...",
      "primaryContact" : { },
      "externalRef2" : "...",
      "providerContact" : "...",
      "address" : { },
      "businessAccountModel" : { },
      "uuid" : "...",
      "code" : "...",
      "description" : "...",
      "appendGeneratedCode" : true,
      "descriptionOrCode" : "...",
      "active" : true,
      "disabled" : true,
      "auditable" : { },
      "id" : 12345,
      "transient" : true,
      "version" : 12345
    },
    "userAccount" : {
      "billingAccount" : { },
      "statusDate" : 12345,
      "terminationReason" : { },
      "parentEntity" : { },
      "invoiceAgregates" : [ { }, { } ],
      "wallet" : { },
      "terminationDate" : 12345,
      "parentCFEntities" : [ { }, { } ],
      "subscriptions" : [ { }, { } ],
      "counters" : {
        "property1" : { },
        "property2" : { }
      },
      "prepaidWallets" : {
        "property1" : { },
        "property2" : { }
      },
      "parentEntityType" : { },
      "subscriptionDate" : 12345,
      "status" : "CLOSED",
      "defaultLevel" : true,
      "accountType" : "...",
      "name" : { },
      "externalRef1" : "...",
      "primaryContact" : { },
      "externalRef2" : "...",
      "providerContact" : "...",
      "address" : { },
      "businessAccountModel" : { },
      "uuid" : "...",
      "code" : "...",
      "description" : "...",
      "appendGeneratedCode" : true,
      "descriptionOrCode" : "...",
      "active" : true,
      "disabled" : true,
      "auditable" : { },
      "id" : 12345,
      "transient" : true,
      "version" : 12345
    },
    "counterPeriods" : [ {
      "counterType" : "NOTIFICATION",
      "level" : 12345.0,
      "counterInstance" : { },
      "notificationLevels" : "...",
      "value" : 12345.0,
      "periodEndDate" : 12345,
      "periodStartDate" : 12345,
      "notificationLevelsAsMap" : {
        "property1" : 12345.0,
        "property2" : 12345.0
      },
      "parentEntityType" : { },
      "code" : "...",
      "parentEntity" : { },
      "description" : "...",
      "appendGeneratedCode" : true,
      "descriptionOrCode" : "...",
      "active" : true,
      "disabled" : true,
      "auditable" : { },
      "id" : 12345,
      "transient" : true,
      "version" : 12345
    }, {
      "counterType" : "USAGE",
      "level" : 12345.0,
      "counterInstance" : { },
      "notificationLevels" : "...",
      "value" : 12345.0,
      "periodEndDate" : 12345,
      "periodStartDate" : 12345,
      "notificationLevelsAsMap" : {
        "property1" : 12345.0,
        "property2" : 12345.0
      },
      "parentEntityType" : { },
      "code" : "...",
      "parentEntity" : { },
      "description" : "...",
      "appendGeneratedCode" : true,
      "descriptionOrCode" : "...",
      "active" : true,
      "disabled" : true,
      "auditable" : { },
      "id" : 12345,
      "transient" : true,
      "version" : 12345
    } ],
    "counterTemplate" : {
      "counterType" : "USAGE",
      "calendar" : { },
      "notificationLevels" : "...",
      "unityDescription" : "...",
      "ceilingExpressionEl" : "...",
      "counterLevel" : "UA",
      "ceiling" : 12345.0,
      "parentEntityType" : { },
      "code" : "...",
      "parentEntity" : { },
      "description" : "...",
      "appendGeneratedCode" : true,
      "descriptionOrCode" : "...",
      "active" : true,
      "disabled" : true,
      "auditable" : { },
      "id" : 12345,
      "transient" : true,
      "version" : 12345
    },
    "parentEntityType" : { },
    "code" : "...",
    "parentEntity" : {
      "parentEntityType" : { },
      "code" : "...",
      "parentEntity" : { },
      "description" : "...",
      "appendGeneratedCode" : true,
      "descriptionOrCode" : "...",
      "active" : true,
      "disabled" : true,
      "auditable" : { },
      "id" : 12345,
      "transient" : true,
      "version" : 12345
    },
    "description" : "...",
    "appendGeneratedCode" : true,
    "descriptionOrCode" : "...",
    "active" : true,
    "disabled" : true,
    "auditable" : {
      "lastModified" : 12345,
      "updater" : "...",
      "created" : 12345,
      "updated" : 12345,
      "creator" : "...",
      "lastUser" : "..."
    },
    "id" : 12345,
    "transient" : true,
    "version" : 12345
  },
  "notificationLevels" : "...",
  "value" : 12345.0,
  "periodEndDate" : 12345,
  "periodStartDate" : 12345,
  "notificationLevelsAsMap" : {
    "property1" : 12345.0,
    "property2" : 12345.0
  },
  "parentEntityType" : { },
  "code" : "...",
  "parentEntity" : {
    "parentEntityType" : { },
    "code" : "...",
    "parentEntity" : { },
    "description" : "...",
    "appendGeneratedCode" : true,
    "descriptionOrCode" : "...",
    "active" : true,
    "disabled" : true,
    "auditable" : {
      "lastModified" : 12345,
      "updater" : "...",
      "created" : 12345,
      "updated" : 12345,
      "creator" : "...",
      "lastUser" : "..."
    },
    "id" : 12345,
    "transient" : true,
    "version" : 12345
  },
  "description" : "...",
  "appendGeneratedCode" : true,
  "descriptionOrCode" : "...",
  "active" : true,
  "disabled" : true,
  "auditable" : {
    "lastModified" : 12345,
    "updater" : "...",
    "created" : 12345,
    "updated" : 12345,
    "creator" : "...",
    "lastUser" : "..."
  },
  "id" : 12345,
  "transient" : true,
  "version" : 12345
}