ChargeCDRResponseDto Data Type

The Class ChargeCDRResponseDto.

Implemented Interfaces
Serializable
Properties
name data type description
actionStatus ActionStatus The status response of the web service response.
amountWithoutTax number The amount without Tax.
amountTax number The tax amount.
amountWithTax number The amount with tax.
walletOperationCount number The total of wallet operations
edrIds array of number A list of EDR ids that were created
reservationIds array of number A list of Reservation ids
walletOperations array of WalletOperationDto A wallet operations list.
counterPeriods array of CounterPeriodDto Counter periods that were updated during the rating
error CdrError CDR processing error

Example

{
  "actionStatus" : {
    "status" : "SUCCESS",
    "errorCode" : { },
    "message" : "...",
    "entityId" : 12345,
    "entityCode" : "...",
    "nrAffected" : 12345,
    "json" : "..."
  },
  "amountWithoutTax" : 12345.0,
  "amountTax" : 12345.0,
  "amountWithTax" : 12345.0,
  "walletOperationCount" : 12345,
  "edrIds" : [ 12345, 12345 ],
  "reservationIds" : [ 12345, 12345 ],
  "walletOperations" : [ {
    "id" : 12345,
    "code" : "...",
    "description" : "...",
    "userAccount" : "...",
    "subscription" : "...",
    "walletTemplate" : "...",
    "seller" : "...",
    "chargeInstance" : "...",
    "chargeInstanceId" : 12345,
    "currency" : "...",
    "type" : "DEBIT",
    "status" : "TO_RERATE",
    "updated" : 12345,
    "ratingUnitDescription" : "...",
    "pricePlanCode" : "...",
    "taxCode" : "...",
    "taxPercent" : 12345.0,
    "unitAmountWithoutTax" : 12345.0,
    "unitAmountWithTax" : 12345.0,
    "unitAmountTax" : 12345.0,
    "quantity" : 12345.0,
    "amountWithoutTax" : 12345.0,
    "amountWithTax" : 12345.0,
    "amountTax" : 12345.0,
    "parameter1" : "...",
    "parameter2" : "...",
    "parameter3" : "...",
    "parameterExtra" : "...",
    "orderNumber" : "...",
    "startDate" : 12345,
    "endDate" : 12345,
    "operationDate" : 12345,
    "subscriptionDate" : 12345,
    "offerCode" : "...",
    "rawAmountWithoutTax" : 12345.0,
    "rawAmountWithTax" : 12345.0,
    "ratedTransaction" : {
      "id" : 12345,
      "auditableField" : [ { }, { } ],
      "code" : "...",
      "status" : "BILLED",
      "description" : "...",
      "updatedCode" : "..."
    },
    "walletId" : 12345,
    "customFields" : {
      "customField" : [ { }, { } ],
      "inheritedCustomField" : [ { }, { } ]
    },
    "taxClassCode" : "...",
    "sortIndex" : 12345
  }, {
    "id" : 12345,
    "code" : "...",
    "description" : "...",
    "userAccount" : "...",
    "subscription" : "...",
    "walletTemplate" : "...",
    "seller" : "...",
    "chargeInstance" : "...",
    "chargeInstanceId" : 12345,
    "currency" : "...",
    "type" : "DEBIT",
    "status" : "REJECTED",
    "updated" : 12345,
    "ratingUnitDescription" : "...",
    "pricePlanCode" : "...",
    "taxCode" : "...",
    "taxPercent" : 12345.0,
    "unitAmountWithoutTax" : 12345.0,
    "unitAmountWithTax" : 12345.0,
    "unitAmountTax" : 12345.0,
    "quantity" : 12345.0,
    "amountWithoutTax" : 12345.0,
    "amountWithTax" : 12345.0,
    "amountTax" : 12345.0,
    "parameter1" : "...",
    "parameter2" : "...",
    "parameter3" : "...",
    "parameterExtra" : "...",
    "orderNumber" : "...",
    "startDate" : 12345,
    "endDate" : 12345,
    "operationDate" : 12345,
    "subscriptionDate" : 12345,
    "offerCode" : "...",
    "rawAmountWithoutTax" : 12345.0,
    "rawAmountWithTax" : 12345.0,
    "ratedTransaction" : {
      "id" : 12345,
      "auditableField" : [ { }, { } ],
      "code" : "...",
      "status" : "CANCELED",
      "description" : "...",
      "updatedCode" : "..."
    },
    "walletId" : 12345,
    "customFields" : {
      "customField" : [ { }, { } ],
      "inheritedCustomField" : [ { }, { } ]
    },
    "taxClassCode" : "...",
    "sortIndex" : 12345
  } ],
  "counterPeriods" : [ {
    "counterType" : "USAGE",
    "level" : 12345.0,
    "periodStartDate" : "...",
    "periodEndDate" : "...",
    "value" : 12345.0,
    "accumulator" : true,
    "accumulatedValues" : {
      "property1" : 12345.0,
      "property2" : 12345.0
    },
    "accumulatorType" : "MULTI_VALUE",
    "id" : 12345,
    "code" : "..."
  }, {
    "counterType" : "USAGE",
    "level" : 12345.0,
    "periodStartDate" : "...",
    "periodEndDate" : "...",
    "value" : 12345.0,
    "accumulator" : true,
    "accumulatedValues" : {
      "property1" : 12345.0,
      "property2" : 12345.0
    },
    "accumulatorType" : "MULTI_VALUE",
    "id" : 12345,
    "code" : "..."
  } ],
  "error" : {
    "errorCode" : "...",
    "errorMessage" : "...",
    "cdr" : "..."
  }
}