name=Prepayment Server
description=A plugin implementing the server-side functionality of the Smart Energy 1.2 Prepayment cluster.
category=Smart Energy

qualityString=Test Code
quality=test

introducedIn=se-1.2a-07-5356-19
requiredPlugins=prepayment-snapshot-storage,calendar-client

includedByDefault=false

# List of callbacks implemented by this plugin
implementedCallbacks=emberAfPrepaymentClusterServerInitCallback,emberAfPrepaymentClusterChangePaymentModeCallback,emberAfPrepaymentClusterGetPrepaySnapshotCallback,emberAfPrepaymentClusterGetTopUpLogCallback,emberAfPrepaymentClusterGetDebtRepaymentLogCallback,emberAfPrepaymentClusterServerTickCallback,emberAfPrepaymentClusterEmergencyCreditSetupCallback,emberAfPrepaymentClusterCreditAdjustmentCallback,emberAfPrepaymentClusterSelectAvailableEmergencyCreditCallback,emberAfPrepaymentClusterConsumerTopUpCallback,emberAfPrepaymentClusterChangeDebtCallback

dependsOnClusterServer=prepayment,simple metering

sourceFiles=prepayment-server.c,prepayment-server-cli.c,prepayment-modes-table.c, prepayment-topup.c,prepayment-debt-log.c, prepayment-debt-schedule.c,prepayment-tick.c

options=maxPendingPaymentModes,debtLogCapacity

maxPendingPaymentModes.name=Maximum Number of Pending Payment Modes
maxPendingPaymentModes.description=The maximum number of future payment modes that can be stored.
maxPendingPaymentModes.type=NUMBER:1,255
maxPendingPaymentModes.default=5

debtLogCapacity.name=Maximum Number of Debt Log Entries
debtLogCapacity.description=The maximum number of entries that can be stored in the debt log.
debtLogCapacity.type=NUMBER:1,255
debtLogCapacity.default=10

