com.highdeal.cnd.message
Interface ISessionConfirmAndReserve

All Known Subinterfaces:
ISessionUpdateChargingAsyncOperation, ISessionUpdateChargingOperation
All Known Implementing Classes:
SessionChargingOperation

public interface ISessionConfirmAndReserve

This Java interface defines the prepareConfirmAndReserve(..) method that is relevant for managing an update event of a session-based charging scenario.

Implementation in Your Client Application

Use prepareConfirmAndReserve(..) method to extend a reservation.

This method is available in the following container operations (session operations):

Async. comm. Sync. comm.
createSessionUpdateAsyncOperation(..) createSessionUpdateOperation(..)

See Also:
ISessionReservation, ISessionConfirmation about reservation confirmation or reservation cancellation

Method Summary
 void prepareConfirmAndReserve(java.lang.String reservationId, ChargeableItem confirmationItem, ChargeableItem reservationItem)
          This method allows you to confirm and extend a reservation during a session-based charging.
 

Method Detail

prepareConfirmAndReserve

void prepareConfirmAndReserve(java.lang.String reservationId,
                              ChargeableItem confirmationItem,
                              ChargeableItem reservationItem)
This 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.

Parameters:
reservationId - The reservation identifier that must be unique within a session
confirmationItem - The confirmation item (optional, null, or partially defined items are accepted)
reservationItem - The reservation item (optional, null, or partially defined items are accepted)

Document Published: October 2015 (SAP CC 4.0 SP10 and Later)