setSessionId()
|
String
|
Sets the SessionId that is unique for this
session.
Example: roChargingInfo.setSessionId("sipclient.example.com:33041;23432;893");
|
setOriginHost()
|
String
|
The fully qualified domain name of the host
initiating this request. Note: This value is overridden by all Web
service requests except sendCCRaw().
|
setOriginRealm()
|
String
|
The fully qualified domain name of the realm
where this request originated. Note: This value is overridden by all
Web service requests except sendCCRaw().
|
setDestinationRealm()
|
String
|
Holds the administration domain that recognizes
the OCS.
Example: roChargingInfo.setDestinationRealm("example.com");
Note: This
value will be used to route the request to the proper OCS.
|
setAuthApplicationID()
|
Integer
|
The value for the Credit Control Application
is 4. Note: This value will be overridden if using a non-raw method.
|
setServiceContextId()
|
String
|
The specific request document that this request
follows:
For IMS charging: "32260@3gpp.org"
Example: roChargingInfo.setServiceContextId("32260@3gpp.org");
|
setCCRequestType()
|
Integer
|
This Enumeration contains the following: - Initial Request
- Update Request
- Termination Request
- Event Request
Note: This value will be overridden if using a non-raw method.
|
setCCRequestNumber()
|
Integer
|
Indicates the numbered request within a session.
This should be set to 0 for Request Types of Initial and Event. It
should be incremented by one for each subsequent request within a
session. It is the caller's responsibility to set the proper number.
|
setDestinationHost()
|
String
|
The fully qualified domain name of the Destination
Host. This is generally not specified when using realm routing.
|
setUserName()
|
String
|
Name of the subscriber.
|
setOriginStateId()
|
Integer
|
Holds the value to track the incremented
value of possible times the client has loss the state or possible
reboot has occurred.
|
setEventTimestamp()
|
Long
|
Holds the event value for time and MAY be
included in a CCR message to record the time that the reported event
occurred, in milliseconds since January 1, 1970 00:00 UTC. This timestamp
is converted to the SNTP time format when sending a request. Note: This
time is based on Java time.
Example: roAccountingInfo.setEventTimestamp(new Long(system.currentTimeMillis()));
|
setSubscriptionId()
|
SubscriptionId
|
Grouped AVP used to specify the end user,
and the format in which the data specifying the end user is presented.
For
additional information on creating and populating the SubscriptionId,
refer to the Javadoc.
|
setTerminationCause()
|
Integer
|
The session was terminated for one of several
reasons. - LOGOUT
- SERVICE_NOT_PROVIDED
- BAD_ANSWER
- ADMINISTRATIVE
- LINK_BROKEN
- AUTH_EXPIRED
- USER_MOVED
- SESSION_TIMEOUT
|
setRequestedAction()
|
Integer
|
This value defines the type of action if
the CCRequestType is EVENT. - Direct Debiting
- Refund Account
- Check Balance
- Price Enquiry
|
setMultipleServicesIndicator()
|
Integer
|
The following values are defined for
the Multiple-Services-Indicator AVP: - 0: MULTIPLE_SERVICES_NOT_SUPPORTED
- The client does not support independent credit-control of multiple
services within a session or sub-session
- 1: MULTIPLE_SERVICES_SUPPORTED
- The client supports independent credit-control of multiple services
within a session or sub-session
|
setMultipleServicesCreditControl()
|
MultipleServicesCreditControl
|
Contains all fields for quota management.
(Refer to Javadoc.)
|
setUserEquipmentInfo()
|
UserEquipmentInfo
|
Contains information about the equipment
being used by the subscriber. (Refer to Javadoc.)
|
setServiceInfo()
|
ServiceInfo
|
Holds service-specific 3 GPP accounting and
charging information. (Refer to Javadoc.)
|