Class OnlineChargingInteraction
- java.lang.Object
-
- com.opencloud.slee.resources.sis.script.in.OnlineChargingInteraction
-
- All Implemented Interfaces:
Serializable
public final class OnlineChargingInteraction extends Object implements Serializable
Service interaction options for handling online charging operations: Apply Charging, Call Information Request, and Send Charging Information.- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
OnlineChargingInteraction.Mode
Supported Online Charging Interaction modes.
-
Constructor Summary
Constructors Constructor Description OnlineChargingInteraction(OnlineChargingInteraction.Mode mode)
Create a new Online Charging Interaction option.OnlineChargingInteraction(OnlineChargingInteraction.Mode mode, ServiceRefID nominatedService)
Create a new Online Charging Interaction option.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object o)
OnlineChargingInteraction.Mode
getMode()
ServiceRefID
getNominatedService()
int
hashCode()
String
toString()
-
-
-
Constructor Detail
-
OnlineChargingInteraction
public OnlineChargingInteraction(OnlineChargingInteraction.Mode mode)
Create a new Online Charging Interaction option.- Parameters:
mode
- Online Charging Interaction Mode.- Throws:
NullPointerException
- ifmode
isnull
.IllegalArgumentException
- ifmode
==OnlineChargingInteraction.Mode.NOMINATED_SERVICE
. TheOnlineChargingInteraction(Mode, ServiceRefID)
constructor must be used instead for this mode.
-
OnlineChargingInteraction
public OnlineChargingInteraction(OnlineChargingInteraction.Mode mode, ServiceRefID nominatedService)
Create a new Online Charging Interaction option.- Parameters:
mode
- Online Charging Interaction Mode.nominatedService
- the nominated service if the mode isOnlineChargingInteraction.Mode.NOMINATED_SERVICE
.- Throws:
NullPointerException
- ifmode
isnull
.IllegalArgumentException
- ifmode
==OnlineChargingInteraction.Mode.NOMINATED_SERVICE
. andnominatedService
isnull
, ormode
!=OnlineChargingInteraction.Mode.NOMINATED_SERVICE
andnominatedService
is notnull
.
-
-
Method Detail
-
getMode
public OnlineChargingInteraction.Mode getMode()
-
getNominatedService
public ServiceRefID getNominatedService()
-
-