public interface ISessionConfirmAndReserve
Java interface defines the prepareConfirmAndReserve(..) method
that is relevant for managing an update event of a session-based charging scenario.
Use prepareConfirmAndReserve(..) method to extend a reservation.
This method is available in the following container operations (session operations):
| Async. comm. | Sync. comm. |
|---|---|
createSessionUpdateAsyncOperation(..)
|
createSessionUpdateOperation(..)
|
| Modifier and Type | Method and Description |
|---|---|
void |
prepareConfirmAndReserve(String reservationId,
ChargeableItem confirmationItem,
ChargeableItem reservationItem)
This
method allows you to confirm and extend a reservation during a session-based charging. |
void prepareConfirmAndReserve(String reservationId, ChargeableItem confirmationItem, ChargeableItem reservationItem)
method allows you to confirm and extend a reservation during a session-based charging.
First, the SAP CC system retrieves the charging session and re-rate the reservation item to compute a first rating result used by your client application to cancel the previous balance reservation. The transactions from this rating result are provided to the TIF.
Second, the SAP CC system consolidates a chargeable item for confirmation using both the reservation one from the charging session and the confirmation one if present. This chargeable item is rated and previously reserved counters are updated into the back-end database. A second rating result is then available for your client application to confirm the balance reservation. The transactions from this rating result are also provided to the TIF.
Third, the SAP CC system consolidates a chargeable item for reservation using both the old reservation item (from the charging session) and the provided one (if not present, the old one is used instead). It rates this new reservation item taking the update date into account and does the related counter reservations. A third rating result is available for balance reservation.
Finally, it updates the charging session with the new reservation chargeable item.
reservationId - The reservation identifier that must be unique within a sessionconfirmationItem - The confirmation item (optional, null, or partially defined items are accepted)reservationItem - The reservation item (optional, null, or partially defined items are accepted)