|
SAP Convergent Charging
Java and XML APIs (Core) |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface ISessionReservation
This Java interface defines the key prepareReserve(..) method necessary for managing a reservation during session-based charging.
The prepareReserve(..) method is available in the following container operations:
| Async. comm. | Sync. comm. |
|---|---|
createSessionStartAsyncOperation(..)
|
createSessionStartOperation(..)
|
createSessionUpdateAsyncOperation(..)
|
createSessionUpdateOperation(..)
|
Note
Consider the following interfaces to implement in your integration code:
ISessionConfirmation interface for more information about the
reservation confirmation or reservation cancellation.
ISessionConfirmAndReserve interface for more information about the
reservation extension.
Do not use the SessionChargingOperation Java class to develop your Java-based client application.
ISessionConfirmation (about reservation confirmation or reservation cancellation),
ISessionConfirmAndReserve(about reservation extension)| Nested Class Summary | |
|---|---|
static class |
ISessionReservation.SessionReservationResolution
This enumeration lists the resolutions of a session reservation: confirmed of canceled. |
| Method Summary | |
|---|---|
void |
prepareReserve(java.lang.String reservationId,
ChargeableItem reservationItem,
ISessionReservation.SessionReservationResolution defaultResolution,
long ttl,
java.lang.String propertyToInverse)
This method allows you to create a reservation request during session-based charging operations. |
| Method Detail |
|---|
void prepareReserve(java.lang.String reservationId,
ChargeableItem reservationItem,
ISessionReservation.SessionReservationResolution defaultResolution,
long ttl,
java.lang.String propertyToInverse)
method allows you to create a reservation request during session-based charging operations.
It triggers in the connected SAP CC system, the rating (dynamic pricing) and reservation of the specified chargeable item by
performing the related counter reservations.
Note
If the reservation fails due to a low-credit, an inverse rating may be attempted if the property name of the property to inverse is specified. This mechanism is known as best effort reservation. This property name is saved in the charging session to avoid providing it again or changing it at update.
Options: You use the parameters ttl and defaultResolution
to set up an automated processing (reservation confirmation or reservation cancellation), when the time to live (TTL) has expired.
The SAP CC system manages the last counter or balance reservations accordingly.
reservationId - The reservation identifier that must be unique within a sessionreservationItem - The mandatory chargeable item that includes the service consumption informationdefaultResolution - The default resolution of the rating session at expiration time (ISessionReservation.SessionReservationResolution.CANCELLED or ISessionReservation.SessionReservationResolution.CONFIRMED)ttl - The time to live (TTL) expressed in secondspropertyToInverse - The name of the property in the reservationItem to inverse in case of best effort reservation
|
Document Published: October 2015 (SAP CC 4.0 SP10 and Later) | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||