public final class OnlineChargingInteraction extends Object implements Serializable
| Modifier and Type | Class and Description |
|---|---|
static class |
OnlineChargingInteraction.Mode
Supported Online Charging Interaction modes.
|
| Constructor and 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.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
OnlineChargingInteraction.Mode |
getMode() |
ServiceRefID |
getNominatedService() |
int |
hashCode() |
String |
toString() |
public OnlineChargingInteraction(OnlineChargingInteraction.Mode mode)
mode - Online Charging Interaction Mode.NullPointerException - if mode is null.IllegalArgumentException - if mode == OnlineChargingInteraction.Mode.NOMINATED_SERVICE.
The OnlineChargingInteraction(Mode, ServiceRefID) constructor must be used instead for this mode.public OnlineChargingInteraction(OnlineChargingInteraction.Mode mode, ServiceRefID nominatedService)
mode - Online Charging Interaction Mode.nominatedService - the nominated service if the mode is OnlineChargingInteraction.Mode.NOMINATED_SERVICE.NullPointerException - if mode is null.IllegalArgumentException - if mode == OnlineChargingInteraction.Mode.NOMINATED_SERVICE.
and nominatedService is null, or mode != OnlineChargingInteraction.Mode.NOMINATED_SERVICE
and nominatedService is not null.public OnlineChargingInteraction.Mode getMode()
public ServiceRefID getNominatedService()