public interface IContractBatchRatingGroupAssignmentPolicy
Java interface describes the Contract Batch Rating Group Assignment Policy Framework.
You can customize your own batch rating group assignment policy by implementing this interface in a Java class plugged to the SAP CC system.
You design and implement the getBatchRatingGroupAssignment(..) method.
This method is
automatically called by the SAP CC system during the creation of provider contracts in master data (see charging contract)
during the provisioning operations via the Web Services technical interface.
When you develop a Java class implementing this Java interface,
you must configure the SAP CC system by specifying the name of your own Java class in the
BATCH_RATING_GROUP_ASSIGNMENT_POLICY_CLASS system parameter.
You must deploy your customized Java class in the production system landscape. It must be in the classpath of the SAP CC system.
Note
Consult the SAP CC System Parameter Reference for more information about the BATCH_RATING_GROUP_ASSIGNMENT_POLICY_CLASS system parameter.| Modifier and Type | Method and Description |
|---|---|
BatchRatingGroupIdentifier |
getBatchRatingGroupAssignment(ChargingContractRevisionModel chargingContract,
IBatchRatingGroupsAccessor batchRatingGroupsAccessor)
Invoked to retrieve the
batch rating group identifier of a new contract. |
BatchRatingGroupIdentifier getBatchRatingGroupAssignment(ChargingContractRevisionModel chargingContract, IBatchRatingGroupsAccessor batchRatingGroupsAccessor) throws BatchRatingGroupIdentifierException
batch rating group identifier of a new contract.chargingContract - The charging contract to createbatchRatingGroupsAccessor - The batch rating groups accessor used to get information about the batch rating groupsbatch rating group identifier of the contract to create.
Cannot return null,
otherwise if there is no batch rating group identifier for
the new contract returned a BatchRatingGroupException exception is returned.BatchRatingGroupIdentifierException - if an error occurs during the assignment of a batch rating group identifier
for the specified charging contract