Package com.highdeal.cnd.message
Interface IExternalDataSettable
- All Known Subinterfaces:
ISessionStartChargingAsyncOperation,ISessionStartChargingOperation,ISessionUpdateChargingAsyncOperation,ISessionUpdateChargingOperation
- All Known Implementing Classes:
SessionChargingOperation
public interface IExternalDataSettable
This
Java interface defines the method for setting up or changing the external data that are included in the renew reservation notifications.
Implementation in Your Client Application
- You set up the external data during the start of a multiservice session:
ISessionStartChargingAsyncOperation,ISessionStartChargingOperation. - You change the external data during a multiservice session update:
ISessionUpdateChargingAsyncOperation,ISessionUpdateChargingOperation.
Prerequisites
- You implement the session-based charging services
-
The reservation renewal function is enabled by a charging client when starting the current multiservice session;
See the
IReservationRenewalListenerIdSettable.setReservationRenewalListenerId(byte)method for more information.
-
Method Summary
Modifier and TypeMethodDescriptionvoidsetExternalData(byte[] externalData) Sets the external data that is included in the renew reservation notifications by the connected SAP CC system.
-
Method Details
-
setExternalData
Sets the external data that is included in the renew reservation notifications by the connected SAP CC system. The external data is a byte array. The size of this array must be lower than or equal to 1,023 bytes.Note
External data must not be
nullbut it can be empty.- Parameters:
externalData- The external data- Throws:
IllegalArgumentException- When one of these two cases occur:- The
externalDataargument isnull - The size of the byte array
externalDataexceeds 1,023 bytes
- The
-