Abstract

ETSI OSA APIs Phase 4.   Based on ES 203 915 and the new requirements for OSA Phase 4, to produce ES 204 915 V1.1.1.  ETSI OSA Phase 4 incorporates 3GPP OSA Release 7 and is also known as Parlay 6.0.
The present document is part 12 of the Stage 3 specification for an Application Programming Interface (API) for Open Service Access (OSA).
The OSA specifications define an architecture that enables application developers to make use of network functionality through an open standardised interface, i.e. the OSA APIs.
The present document specifies the Charging Service Capability Feature (SCF) aspects of the interface. All aspects of the Charging SCF are defined here, these being:
• Sequence Diagrams.
• Class Diagrams.
• Interface specification plus detailed method descriptions.
• State Transition diagrams.
• Data Definitions.
• IDL Description of the interfaces.
• WSDL Description of the interfaces.
• Reference to the Java™ API description of the interfaces.
The process by which this task is accomplished is through the use of object modelling techniques described by the Unified Modelling Language (UML).

Status
Published
Publication Date
02-Jul-2008
Current Stage
6060 - National Implementation/Publication (Adopted Project)
Start Date
11-Jun-2008
Due Date
16-Aug-2008
Completion Date
03-Jul-2008

Buy Documents

Standard

ETSI ES 204 915-12 V1.1.1 (2008-02) - Open Service Access (OSA); Application Programming Interface (API); Part 12: Charging SCF (Parlay 6)

English language (57 pages)
sale 15% off
Preview
sale 15% off
Preview
Standard

ETSI ES 204 915-12 V1.1.1 (2008-05) - Open Service Access (OSA); Application Programming Interface (API); Part 12: Charging SCF (Parlay 6)

English language (57 pages)
sale 15% off
Preview
sale 15% off
Preview
Standardization document

SIST ES 204 915-12 V1.1.1:2008

English language (57 pages)
Preview
Preview
e-Library read for
×1 day

SIST ES 204 915-12 V1.1.1:2008 is the SIST-listed ETSI Standard for Open Service Access (OSA) - Application Programming Interface (API) - Part 12: Charging SCF (Parlay 6). It specifies the Charging Service Capability Feature (SCF) of the OSA APIs, so that application developers can use network charging functions through a standard interface. The document defines the charging interfaces, callback behavior, state models, data types, and language bindings for implementation and integration.

What does SIST ES 204 915-12 V1.1.1:2008 specify?

SIST ES 204 915-12 V1.1.1:2008 specifies the Stage 3 interface for the OSA Charging SCF. In practice, it tells implementers how an application can create charging sessions, reserve or debit amounts or units, request rating, and receive asynchronous callbacks.

The document is organized around the main technical views used for an API specification:

  • scope and references
  • definitions and abbreviations
  • Charging SCF overview
  • sequence diagrams
  • class diagrams
  • service interface specifications
  • charging interface classes
  • state transition diagrams
  • content based charging service properties
  • data definitions
  • exception classes
  • annexes for IDL, WSDL, Java, context, and change record
AnnexWhat it covers
Annex ANormative OMG IDL description of the Charging SCF
Annex BInformative W3C WSDL description of the Charging SCF
Annex CInformative Java™ API description of the Charging SCF
Annex DInformative contents of 3GPP OSA R7 Charging
Annex EInformative description for 3GPP2 cdma2000 networks
Annex FInformative record of changes

The specification uses Unified Modelling Language (UML) to present sequence diagrams, class diagrams, and state transition diagrams. That matters because the document is meant to be implemented, not just read as prose.

What are the key requirements of SIST ES 204 915-12 V1.1.1:2008?

SIST ES 204 915-12 V1.1.1:2008 requires a Charging SCF implementation to support the defined methods with valid parameter sets, and to use the specified callback and request-number behavior. The most important practical point is that charging transactions must be traceable, retryable, and consistent across asynchronous service and application interfaces.

Implementation and callback rules

If an implementation supports a method, it shall support the described functionality for at least one valid set of parameter values. For service interfaces, an unsupported method returns P_METHOD_NOT_SUPPORTED; for application interfaces, the call must still be possible and no exception is returned. This matters because service-side and application-side error handling are different.

The generic service interface IpService provides setCallback() and setCallbackWithSessionID(). These methods define where the service sends callbacks, and the latest valid callback reference is used if several are set. In practice, the application must register callback objects before it expects results or error notifications.

Charging session creation and split charging

IpChargingManager creates charging sessions. At least one of createChargingSession() or createSplitChargingSession() shall be implemented. createSplitChargingSession() allows multiple users in one charging session, which is useful for multi-user games, conferences, or other shared-cost services.

IpAppChargingManager receives abnormal session events through sessionAborted() and abortMultipleChargingSessions(). This lets an application clean up session state if the charging side fails or recovers after a service interruption.

Reservations, direct charging, and release

IpChargingSession is the main charging control interface. It supports reserving amounts or units, debiting and crediting against a reservation, direct debit and direct credit without reservation, extending reservation lifetime, checking what remains, rating an item, and releasing the session.

The minimum implementation rule is important: release() shall be implemented. If reservation methods are implemented, at least one matching debit or credit method shall also be available. If no reservation method is supported, at least one direct charge method shall be implemented instead. In practice, this defines whether a product supports pre-reservation workflows, immediate charging, or both.

Request numbers and retry behavior

The Charging SCF uses a Request Number for operations that touch the user account directly or indirectly through reservations. The same request number is reused for retries after application, service, or communication errors. Only one request can be outstanding per charging session at a time, and request numbers must remain unique across the time window in which delayed responses might still arrive. This protects against double charging when a transaction is retried.

Reservation limits and unit handling

The document distinguishes amount-based charging and unit-based charging. TpVolumeSet values are not consolidated by the charging SCF, and the same unit types must be used consistently for reservation and debit. In practical terms, an application cannot reserve time and then debit in a different unit and expect the reservation to match.

reserveAmountReq() and reserveUnitReq() can enlarge an existing reservation and reset its lifetime. debitAmountReq() fails if the amount exceeds the reservation, while debitUnitReq() succeeds and charges only the remaining reserved units. closeReservation can free the unused part of a reservation, but it does not release the session itself.

Rating and session state

rateReq() lets an application ask the charging service for price information before the user starts using the service. The callback rateRes() returns applicable rates and a validity time. The state model then shows how a session moves between Session Created, Amount Reserved, Volume Reserved, and Reservation Ended, with release or lifetime expiry ending the session.

What terms does SIST ES 204 915-12 V1.1.1:2008 define?

  • API [Application Programming Interface] - The standard interface an application uses to invoke charging functions in the network domain.
  • OSA [Open Service Access] - The architecture that lets application developers use network functionality through a standardized interface.
  • SCF [Service Capability Feature] - A functional service area within OSA; here it is charging.
  • UML [Unified Modelling Language] - The modeling language used for sequence, class, and state diagrams in this specification.
  • IDL [Interface Definition Language] - The normative interface description format provided in Annex A.
  • TpChargingPrice - A data type that represents a price as Currency plus Amount.
  • TpVolumeSet - A numbered set of TpVolume values used for unit-based charging and reservation.
  • TpSessionEndedCause - A data type that states why a charging session ended, such as undefined or timer expired.

Who uses SIST ES 204 915-12 V1.1.1:2008?

SIST ES 204 915-12 V1.1.1:2008 is used by telecommunications software developers, charging-platform implementers, gateway vendors, and service-provider engineers who need standardized charging control in OSA-based systems. It is also relevant to quality managers and integrators who need to verify that a product supports reservation, direct charging, callbacks, and session handling in a predictable way.

The document is especially useful where an application charges end users, charges on behalf of another party, or shares charges across multiple users. That includes merchant applications, network service platforms, and systems that need pre-rating before service start or immediate debit during service use.

What changed in SIST ES 204 915-12 V1.1.1:2008 from the previous edition?

SIST ES 204 915-12 V1.1.1:2008 is equivalent to 3GPP TS 29.198-12 V7.0.0 (Release 7).

Which standards are used with SIST ES 204 915-12 V1.1.1:2008?

  • ETSI ES 204 915-1 - Provides the OSA overview, the shared definitions and abbreviations, and the Java realization rules referenced by this part.
  • ETSI ES 204 915-2 - Provides the common data definitions used by types that are referenced but not defined in this charging part.
  • ETSI ES 203 915 - The Phase 4 basis noted for the development of ES 204 915 V1.1.1.
  • 3GPP TS 29.198-12 V7.0.0 - The equivalent 3GPP Release 7 document.

What does the SIST ES 204 915-12 V1.1.1:2008 document contain?

The document contains two worked charging flows in sequence-diagram form: reservation and payment in parts, and immediate charge. It also contains class diagrams for the application and service interfaces, including IpChargingManager, IpChargingSession, IpAppChargingManager, and IpAppChargingSession.

Clause 9 adds the state transition model for IpChargingSession, showing how reservation-related and direct-charge operations relate to session state. Clause 10 lists Charging SCF service properties such as supported units, currencies, split charging, debiting, crediting, and lifetime-related service agreement settings.

Clause 11 provides the detailed data definitions behind the methods, including session identifiers, charging parameters, prices, volumes, correlation data, and error codes. Clause 12 lists the exception classes used by the API, while Annexes A to C provide the IDL, WSDL, and Java representations used for implementation and integration work.

Buy Documents

Standard

ETSI ES 204 915-12 V1.1.1 (2008-02) - Open Service Access (OSA); Application Programming Interface (API); Part 12: Charging SCF (Parlay 6)

English language (57 pages)
sale 15% off
Preview
sale 15% off
Preview
Standard

ETSI ES 204 915-12 V1.1.1 (2008-05) - Open Service Access (OSA); Application Programming Interface (API); Part 12: Charging SCF (Parlay 6)

English language (57 pages)
sale 15% off
Preview
sale 15% off
Preview
Standardization document

SIST ES 204 915-12 V1.1.1:2008

English language (57 pages)
Preview
Preview
e-Library read for
×1 day

Get Certified

Connect with accredited certification bodies for this standard

BSI Group

BSI (British Standards Institution) is the business standards company that helps organizations make excellence a habit.

UKAS United Kingdom Verified

NYCE

Mexican standards and certification body.

EMA Mexico Verified

Sponsored listings

Frequently Asked Questions

SIST ES 204 915-12 V1.1.1:2008 is a standard published by the Slovenian Institute for Standardization (SIST). Its full title is "Open Service Access (OSA) - Application Programming Interface (API) - Part 12: Charging SCF (Parlay 6)". This standard covers: ETSI OSA APIs Phase 4. Based on ES 203 915 and the new requirements for OSA Phase 4, to produce ES 204 915 V1.1.1. ETSI OSA Phase 4 incorporates 3GPP OSA Release 7 and is also known as Parlay 6.0. The present document is part 12 of the Stage 3 specification for an Application Programming Interface (API) for Open Service Access (OSA). The OSA specifications define an architecture that enables application developers to make use of network functionality through an open standardised interface, i.e. the OSA APIs. The present document specifies the Charging Service Capability Feature (SCF) aspects of the interface. All aspects of the Charging SCF are defined here, these being: • Sequence Diagrams. • Class Diagrams. • Interface specification plus detailed method descriptions. • State Transition diagrams. • Data Definitions. • IDL Description of the interfaces. • WSDL Description of the interfaces. • Reference to the Java™ API description of the interfaces. The process by which this task is accomplished is through the use of object modelling techniques described by the Unified Modelling Language (UML).

ETSI OSA APIs Phase 4. Based on ES 203 915 and the new requirements for OSA Phase 4, to produce ES 204 915 V1.1.1. ETSI OSA Phase 4 incorporates 3GPP OSA Release 7 and is also known as Parlay 6.0. The present document is part 12 of the Stage 3 specification for an Application Programming Interface (API) for Open Service Access (OSA). The OSA specifications define an architecture that enables application developers to make use of network functionality through an open standardised interface, i.e. the OSA APIs. The present document specifies the Charging Service Capability Feature (SCF) aspects of the interface. All aspects of the Charging SCF are defined here, these being: • Sequence Diagrams. • Class Diagrams. • Interface specification plus detailed method descriptions. • State Transition diagrams. • Data Definitions. • IDL Description of the interfaces. • WSDL Description of the interfaces. • Reference to the Java™ API description of the interfaces. The process by which this task is accomplished is through the use of object modelling techniques described by the Unified Modelling Language (UML).

SIST ES 204 915-12 V1.1.1:2008 is classified under the following ICS (International Classification for Standards) categories: 35.100.01 - Open systems interconnection in general. The ICS classification helps identify the subject area and facilitates finding related standards.

SIST ES 204 915-12 V1.1.1:2008 is available in PDF format for immediate download after purchase. The document can be added to your cart and obtained through the secure checkout process. Digital delivery ensures instant access to the complete standard document.

Standards Content (Sample)

Contents

  • 1 Scope
  • 2 References
  • 3 Definitions and abbreviations
  • 3.1 Definitions
  • 3.2 Abbreviations
  • 9 Final draft ETSI ES 204 915-12 V1.1.1 (2008-02)
  • 4 Charging SCF
  • 4.1 General requirements on support of methods
  • 5 Sequence Diagrams
  • 5.1 Reservation / payment in parts
  • 10 Final draft ETSI ES 204 915-12 V1.1.1 (2008-02)
  • 11 Final draft ETSI ES 204 915-12 V1.1.1 (2008-02)
  • 5.2 Immediate Charge
  • 12 Final draft ETSI ES 204 915-12 V1.1.1 (2008-02)
  • 13 Final draft ETSI ES 204 915-12 V1.1.1 (2008-02)
  • 6 Class Diagrams
  • 14 Final draft ETSI ES 204 915-12 V1.1.1 (2008-02)
  • 7 The Service Interface Specifications
  • 7.1 Interface Specification Format
  • 15 Final draft ETSI ES 204 915-12 V1.1.1 (2008-02)
  • 7.2 Base Interface
  • 7.3 Service Interfaces
  • 16 Final draft ETSI ES 204 915-12 V1.1.1 (2008-02)
  • 7.4 Generic Service Interface
  • 17 Final draft ETSI ES 204 915-12 V1.1.1 (2008-02)
  • 8 Charging Interface Classes
  • 8.1 Interface Class IpChargingManager
  • 18 Final draft ETSI ES 204 915-12 V1.1.1 (2008-02)
  • 19 Final draft ETSI ES 204 915-12 V1.1.1 (2008-02)
  • 8.2 Interface Class IpAppChargingManager
  • 20 Final draft ETSI ES 204 915-12 V1.1.1 (2008-02)
  • 8.3 Interface Class IpChargingSession
  • 21 Final draft ETSI ES 204 915-12 V1.1.1 (2008-02)
  • 22 Final draft ETSI ES 204 915-12 V1.1.1 (2008-02)
  • 23 Final draft ETSI ES 204 915-12 V1.1.1 (2008-02)
  • 24 Final draft ETSI ES 204 915-12 V1.1.1 (2008-02)
  • 25 Final draft ETSI ES 204 915-12 V1.1.1 (2008-02)
  • 26 Final draft ETSI ES 204 915-12 V1.1.1 (2008-02)
  • 27 Final draft ETSI ES 204 915-12 V1.1.1 (2008-02)
  • 28 Final draft ETSI ES 204 915-12 V1.1.1 (2008-02)
  • 29 Final draft ETSI ES 204 915-12 V1.1.1 (2008-02)
  • 8.4 Interface Class IpAppChargingSession
  • 30 Final draft ETSI ES 204 915-12 V1.1.1 (2008-02)
  • 31 Final draft ETSI ES 204 915-12 V1.1.1 (2008-02)
  • 32 Final draft ETSI ES 204 915-12 V1.1.1 (2008-02)
  • 33 Final draft ETSI ES 204 915-12 V1.1.1 (2008-02)
  • 34 Final draft ETSI ES 204 915-12 V1.1.1 (2008-02)
  • 35 Final draft ETSI ES 204 915-12 V1.1.1 (2008-02)
  • 36 Final draft ETSI ES 204 915-12 V1.1.1 (2008-02)
  • 37 Final draft ETSI ES 204 915-12 V1.1.1 (2008-02)
  • 38 Final draft ETSI ES 204 915-12 V1.1.1 (2008-02)
  • 39 Final draft ETSI ES 204 915-12 V1.1.1 (2008-02)
  • 40 Final draft ETSI ES 204 915-12 V1.1.1 (2008-02)
  • 9 State Transition Diagrams
  • 9.1 State Transition Diagrams for IpChargingSession
  • 41 Final draft ETSI ES 204 915-12 V1.1.1 (2008-02)
  • 10 Content Based Charging Service Properties
  • 42 Final draft ETSI ES 204 915-12 V1.1.1 (2008-02)
  • 11 Data Definitions
  • 11.1 Charging Data Definitions
  • 43 Final draft ETSI ES 204 915-12 V1.1.1 (2008-02)
  • 44 Final draft ETSI ES 204 915-12 V1.1.1 (2008-02)
  • 45 Final draft ETSI ES 204 915-12 V1.1.1 (2008-02)
  • 46 Final draft ETSI ES 204 915-12 V1.1.1 (2008-02)
  • 47 Final draft ETSI ES 204 915-12 V1.1.1 (2008-02)
  • 12 Exception Classes
  • 48 Final draft ETSI ES 204 915-12 V1.1.1 (2008-02)
  • 49 Final draft ETSI ES 204 915-12 V1.1.1 (2008-02)
  • 50 Final draft ETSI ES 204 915-12 V1.1.1 (2008-02)
  • 51 Final draft ETSI ES 204 915-12 V1.1.1 (2008-02)
  • 52 Final draft ETSI ES 204 915-12 V1.1.1 (2008-02)
  • 53 Final draft ETSI ES 204 915-12 V1.1.1 (2008-02)
  • 54 Final draft ETSI ES 204 915-12 V1.1.1 (2008-02)
  • 55 Final draft ETSI ES 204 915-12 V1.1.1 (2008-02)
  • 56 Final draft ETSI ES 204 915-12 V1.1.1 (2008-02)
  • 57 Final draft ETSI ES 204 915-12 V1.1.1 (2008-02)

1 Scope

The present document is part 12 of the Stage 3 specification for an Application Programming Interface (API) for Open Service Access (OSA).

The OSA specifications define an architecture that enables application developers to make use of network functionality through an open standardised interface, i.e. the OSA APIs.

The present document specifies the Charging Service Capability Feature (SCF) aspects of the interface. All aspects of the Charging SCF are defined here, these being:

  • Sequence Diagrams.
  • Class Diagrams.
  • Interface specification plus detailed method descriptions.
  • State Transition diagrams.
  • Data Definitions.
  • IDL Description of the interfaces.
  • WSDL Description of the interfaces.
  • Reference to the Java™ API description of the interfaces.

The process by which this task is accomplished is through the use of object modelling techniques described by the Unified Modelling Language (UML).

2 References

The references listed in clause 2 of ES 204 915-1 contain provisions which, through reference in this text, constitute provisions of the present document.

ETSI ES 204 915-1: "Open Service Access (OSA); Application Programming Interface (API); Part 1: Overview (Parlay 6)".

3 Definitions and abbreviations

3.1 Definitions

For the purposes of the present document, the terms and definitions given in ES 204 915-1 apply.

3.2 Abbreviations

For the purposes of the present document, the abbreviations given in ES 204 915-1 apply. ETSI

9 Final draft ETSI ES 204 915-12 V1.1.1 (2008-02)

4 Charging SCF

The following clauses describe each aspect of the Charging Service Capability Feature (SCF). The order is as follows:

  • The Sequence diagrams give the reader a practical idea of how each of the SCF is implemented.
  • The Class relationships clause shows how each of the interfaces applicable to the SCF, relate to one another.
  • The Interface specification clause describes in detail each of the interfaces shown within the Class diagram part.
  • The State Transition Diagrams (STD) show the transition between states in the SCF. The states and transitions are well-defined; either methods specified in the Interface specification or events occurring in the underlying networks cause state transitions.
  • The Data Definitions clause shows a detailed expansion of each of the data types associated with the methods within the classes. Note that some data types are used in other methods and classes and are therefore defined within the Common Data types part ES 204 915-2.

4.1 General requirements on support of methods

An implementation of this API which supports or implements a method described in the present document, shall support or implement the functionality described for that method, for at least one valid set of values for the parameters of that method.

Where a method is not supported by an implementation of a Service interface, the exception P_METHOD_NOT_SUPPORTED shall be returned to any call of that method. Where a method is not supported by an implementation of an Application interface, a call to that method shall be possible, and no exception shall be returned.

5 Sequence Diagrams

5.1 Reservation / payment in parts

The sequence diagram illustrates how to request a reservation and how to charge a user from the reserved amount, for instance to charge a user for a streamed video which lasts 10 minutes and costs a total of $2.00. The operations and interfaces that do not provide rating are employed throughout this sequence diagram. We assume the application has already discovered the Charging SCF. As a result, the application received an object reference pointing to an object that implements the IpChargingManager interface. The operations which handle units are used exactly the same, except that the amount of application usage is indicated instead of a price.

ETSI

10 Final draft ETSI ES 204 915-12 V1.1.1 (2008-02)

Application : IpAppChargingSession : IpChargingManager : IpChargingSession 1: new() 2: createChargingSession( ) 3: new() 4: reserveAmountReq( ) 5: reserveAmountRes( ) 6: forward event() 7: debitAmountReq( ) 8: debitAmountRes( ) 9: forward event() 10: getLifeTimeLeft( ) 11: extendLifeTimeReq( ) 12: extendLifeTimeRes( ) 13: forward event() 14: debitAmountReq( ) 15: debitAmountRes( ) 16: forward event() 17: release( )

1: The application creates a local object implementing the IpAppChargingSession interface. This object will receive response messages from the IpChargingSession object.

2: The application opens a charging session, a reference to a new or existing object implementing IpChargingSession is returned together with a unique session ID. ETSI

11 Final draft ETSI ES 204 915-12 V1.1.1 (2008-02)

3: In this case a new object is used.

4: The application requests the reservation of $2.00.

5: Assuming the criteria for requesting a reservation are met (the application provider has permission to charge the requested amount, the charged user has agreed to pay the requested amount), the amount is reserved in the session. At this point, the application provider knows that the network operator will accept later debit requests up to the reserved amount. So, the application may start serving the user, for instance by sending the video stream.

6: The successful reservation is reported back to the application. After half of the video has been sent to the user, the application may choose to capture half of the price already:

7: The application requests to debit $1.00 from the reservation. 8: The successful debit is reported back to the application.

9: The acknowledge is forwarded to the application.

10: The application checks if the remaining lifetime of the reservation will cover the remaining 5 minutes of video. Let us assume, it does not.

11: The application asks the IpChargingSession object to extend the lifetime of the reservation. 12: Assuming that the application provider is allowed to keep reservations open for longer than 10 minutes, the extendLifeTimeReq() will be honoured and confirmed properly.

13: The confirmation is forwarded to the application.

14: When the complete video has been transmitted to the user without errors, the application charges another $1.00.

15: The IpChargingSession object acknowledges the successful debit at the IpAppChargingSession callback object.

16: The IpAppChargingSession object forwards the acknowledge to the application. 17: Since the service is complete, the application frees all resources associated with the reservation and session.

5.2 Immediate Charge

This sequence diagram illustrates how immediate charging is used. Assume a WAP gateway that charges the user $0.01 per requested URL. Since it is acceptable to loose one tick worth $0.01, no prior reservations are made. The WAP gateway sends an immediate debit for each requested URL, and should a payment have as result failure, the user is disconnected.

The operations which handle units are used exactly the same, except that the amount of application usage is indicated instead of a price.

ETSI

12 Final draft ETSI ES 204 915-12 V1.1.1 (2008-02)

Application : IpAppChargingSession : IpChargingManager : IpChargingSession 1: new() 2: createChargingSession( ) 3: directDebitAmountReq( ) 4: directDebitAmountRes( ) 5: forward notification 6: directDebitAmountReq( ) 7: directDebitAmountErr( ) 8: forward notification 9: release( )

1: The application creates a local object implementing the IpAppChargingSession interface. This object will receive response messages from the IpChargingSession object.

2: The application orders the creation of a session. No new object is created for the charging session handling in this example implementation.

3: The application requests to charge the user $0.01.

4: The payment is acknowledged.

5: The acknowledgement is forwarded in the application.

6: The application requests to charge the user $0.01.

7: The payment is reported to fail.

8: The failure report is forwarded in the application.

(repeat steps 3 to 5 and 6 to 8 as long as you want to in any order you want to). 9: The application releases the session.

ETSI

13 Final draft ETSI ES 204 915-12 V1.1.1 (2008-02)

6 Class Diagrams

This class diagram shows the application interfaces for charging and their relations to the service interfaces. IpInterface (from csapi) IpAppChargingSession (from cs) creditAmountErr() creditAmountRes() IpChargingSession creditUnitErr() (from cs) creditUnitRes() debitAmountErr() creditAmountReq() debitAmountRes() creditUnitReq() debitUnitErr() debitAmountReq() debitUnitRes() debitUnitReq() directCreditAmountErr() directCreditAmountReq() directCreditAmountRes() directCreditUnitReq() <<uses>> directCreditUnitErr() directDebitAmountReq() directCreditUnitRes() directDebitUnitReq() directDebitAmountErr() extendLifeTimeReq() directDebitAmountRes() getAmountLeft() directDebitUnitErr() getLifeTimeLeft() directDebitUnitRes() getUnitLeft() extendLifeTimeErr() rateReq() extendLifeTimeRes() release() rateErr() reserveAmountReq() rateRes() reserveUnitReq() reserveAmountErr() reserveAmountRes() 0..n reserveUnitErr() reserveUnitRes() sessionEnded() 0..n

IpChargingManager IpAppChargingManager (from cs) (from cs) <<uses>> createChargingSession() sessionAborted() createSplitChargingSession() abortMultipleChargingSessions()

Figure 1: Application Interfaces This class diagram shows the interfaces of the charging SCF.

ETSI

14 Final draft ETSI ES 204 915-12 V1.1.1 (2008-02)

<<Interface>> IpService (f rom c sap i) setCallback() setCallbackWithSessionID() <<Interface>> <<Interface>> IpChargingManager IpChargingSession (from cs) (from cs) createChargingSession() creditAmountReq() createSplitChargingSession() creditUnitReq() debitAmountReq() debitUnitReq() directCreditAmountReq() directCreditUnitReq() directDebitAmountReq() directDebitUnitReq() extendLifeTimeReq() getAmountLeft() getLifeTimeLeft() getUnitLeft() rateReq() release() reserveAmountReq() reserveUnitReq()

Figure 2: Service Interfaces

7 The Service Interface Specifications

7.1 Interface Specification Format

This clause defines the interfaces, methods and parameters that form a part of the API specification. The Unified Modelling Language (UML) is used to specify the interface classes. The general format of an interface specification is described below.

ETSI

15 Final draft ETSI ES 204 915-12 V1.1.1 (2008-02)

7.1.1 Interface Class

This shows a UML interface class description of the methods supported by that interface, and the relevant parameters and types. The Service and Framework interfaces for enterprise-based client applications are denoted by classes with name Ip<name>. The callback interfaces to the applications are denoted by classes with name IpApp<name>. For the interfaces between a Service and the Framework, the Service interfaces are typically denoted by classes with name IpSvc<name>, while the Framework interfaces are denoted by classes with name IpFw<name>.

7.1.2 Method descriptions

Each method (API method “call”) is described. Both synchronous and asynchronous methods are used in the API. Asynchronous methods are identified by a 'Req' suffix for a method request, and, if applicable, are served by asynchronous methods identified by either a 'Res' or 'Err' suffix for method results and errors, respectively. To handle responses and reports, the application or service developer must implement the relevant IpApp<name> or IpSvc<name> interfaces to provide the callback mechanism.

7.1.3 Parameter descriptions

Each method parameter and its possible values are described. Parameters described as 'in' represent those that must have a value when the method is called. Those described as 'out' are those that contain the return result of the method when the method returns.

7.1.4 State Model

If relevant, a state model is shown to illustrate the states of the objects that implement the described interface.

7.2 Base Interface

7.2.1 Interface Class IpInterface

All application, framework and service interfaces inherit from the following interface. This API Base Interface does not provide any additional methods.

<<Interface>> IpInterface

7.3 Service Interfaces

7.3.1 Overview

The Service Interfaces provide the interfaces into the capabilities of the underlying network - such as call control, user interaction, messaging, mobility and connectivity management.

The interfaces that are implemented by the services are denoted as 'Service Interface'. The corresponding interfaces that must be implemented by the application (e.g. for API callbacks) are denoted as 'Application Interface'. ETSI

16 Final draft ETSI ES 204 915-12 V1.1.1 (2008-02)

7.4 Generic Service Interface

7.4.1 Interface Class IpService

Inherits from: IpInterface; All service interfaces inherit from the following interface.

<<Interface>> IpService

setCallback (appInterface : in IpInterfaceRef) : void setCallbackWithSessionID (appInterface : in IpInterfaceRef, sessionID : in TpSessionID) : void

7.4.1.1 Method setCallback()

This method specifies the reference address of the callback interface that a service uses to invoke methods on the application. It is not allowed to invoke this method on an interface that uses SessionIDs. Multiple invocations of this method on an interface shall result in multiple callback references being specified. The SCS shall use the most recent callback interface provided by the application using this method. In the event that a callback reference fails or is no longer available, the next most recent callback reference available shall be used. Parameters appInterface : in IpInterfaceRef Specifies a reference to the application interface, which is used for callbacks. Raises TpCommonExceptions, P_INVALID_INTERFACE_TYPE

7.4.1.2 Method setCallbackWithSessionID()

This method specifies the reference address of the application's callback interface that a service uses for interactions associated with a specific session ID: e.g. a specific call, or call leg. It is not allowed to invoke this method on an interface that does not use SessionIDs. Multiple invocations of this method on an interface shall result in multiple callback references being specified. The SCS shall use the most recent callback interface provided by the application using this method. In the event that a callback reference fails or is no longer available, the next most recent callback reference available shall be used.

Parameters appInterface : in IpInterfaceRef Specifies a reference to the application interface, which is used for callbacks. sessionID : in TpSessionID Specifies the session for which the service can invoke the application's callback interface. Raises TpCommonExceptions, P_INVALID_SESSION_ID, P_INVALID_INTERFACE_TYPE ETSI

17 Final draft ETSI ES 204 915-12 V1.1.1 (2008-02)

8 Charging Interface Classes

The Charging SCF is used by applications to charge for the usage of the applications. The charged user can be the same user as that uses the application. It is also possible that another user will pay the charge. In the interfaces of the Charging SCF a "Request Number" is used when invoking operations that operate on the user's account (directly or indirectly via reservations) in order to make retries possible after application, service, or communication errors. A retry of these operations can be done by invoking the same operation with the same Request Number.

In the callback to the application, the Request Number to be used for the next request operation is returned. This is the only Request Number besides the one in the last request operation that can be used. This mechanism ensures that an application retries an operation when it does not receive an answer. The use of the Request Number ensures that there can only be one outstanding request per Charging Session. Only after an answer is received (result or error), the next request can be made. Note however that only asynchronous operations that could lead to over or under charging of the user require a request number. Because responses from the Charging SCF can be delayed in the network the Charging SCF shall guarantee that Request Numbers are unique in a timespan where delayed responses can arrive. Suppose, for example, that the response from a retried request is received indicating the next request number to use is 1 000. During the period that the response to the original request (which also carries the next request number to use equal to 1 000) can arrive, this request number may not be used again.

The units (of different types) that are used in a TpVolumeSet are NOT consolidated by the charging SCF. The application must use the same units when making the reservation and when debiting the amount. For example, when after a reservation of 10 minutes a debit request for 5 seconds is done, an error will be returned. Split Charging Functionality.

There are cases where a single instance of the merchant application may serve more than a one service user. Examples are multi-user games or conferences. Typically, the costs for the resources consumed by the single service instance will be split among all service users.

On the other hand, a merchant application may show advertisements within its application, and in turn the company that is advertised may subside a certain percentage of the application cost. A consumer connecting to the merchant application pays only part of the costs, while the remainder is paid by the advertised company. To support this kind of application, multiple users can be specified when a charging session is created. The charging session interface itself is the same no matter if the split charging feature is used or not. It is subject to service level agreements that are negotiated between the OSA client provider and the network operator how the charge is split between the users.

8.1 Interface Class IpChargingManager

Inherits from: IpService.

This interface is the 'service manager' interface for the Charging Service. The Charging manager interface provides management functions to the charging service. The application programmer can use this interface to start charging sessions.

This interface shall be implemented by a Charging SCF. As a minimum requirement, at least one of createChargingSession() or createSplitChargingSession() shall be implemented. ETSI

18 Final draft ETSI ES 204 915-12 V1.1.1 (2008-02)

<<Interface>> IpChargingManager

createChargingSession (appChargingSession : in IpAppChargingSessionRef, sessionDescription : in TpString, merchantAccount : in TpMerchantAccountID, user : in TpAddress, correlationID : in TpCorrelationID) : TpChargingSessionID createSplitChargingSession (appChargingSession : in IpAppChargingSessionRef, sessionDescription : in TpString, merchantAccount : in TpMerchantAccountID, users : in TpAddressSet, correlationID : in TpCorrelationID) : TpChargingSessionID

8.1.1 Method createChargingSession()

This method creates an instance of the IpChargingSession interface to handle the charging events related to the specified user and to the application invoking this method. An IpAppChargingManager should already have been passed to the IpChargingManager, otherwise the charging manager will not be able to report a sessionAborted() to the application (the application should invoke setCallback() if it wishes to ensure this). Returns chargingSession: Defines the session.

Parameters appChargingSession : in IpAppChargingSessionRef Callback interface for the session in the application.

sessionDescription : in TpString Descriptive text for informational purposes.

...

Contents

  • 1 Scope
  • 2 References
  • 3 Definitions and abbreviations
  • 3.1 Definitions
  • 3.2 Abbreviations
  • 9 ETSI ES 204 915-12 V1.1.1 (2008-05)
  • 4 Charging SCF
  • 4.1 General requirements on support of methods
  • 5 Sequence Diagrams
  • 5.1 Reservation / payment in parts
  • 10 ETSI ES 204 915-12 V1.1.1 (2008-05)
  • 11 ETSI ES 204 915-12 V1.1.1 (2008-05)
  • 5.2 Immediate Charge
  • 12 ETSI ES 204 915-12 V1.1.1 (2008-05)
  • 13 ETSI ES 204 915-12 V1.1.1 (2008-05)
  • 6 Class Diagrams
  • 14 ETSI ES 204 915-12 V1.1.1 (2008-05)
  • 7 The Service Interface Specifications
  • 7.1 Interface Specification Format
  • 15 ETSI ES 204 915-12 V1.1.1 (2008-05)
  • 7.2 Base Interface
  • 7.3 Service Interfaces
  • 16 ETSI ES 204 915-12 V1.1.1 (2008-05)
  • 7.4 Generic Service Interface
  • 17 ETSI ES 204 915-12 V1.1.1 (2008-05)
  • 8 Charging Interface Classes
  • 8.1 Interface Class IpChargingManager
  • 18 ETSI ES 204 915-12 V1.1.1 (2008-05)
  • 19 ETSI ES 204 915-12 V1.1.1 (2008-05)
  • 8.2 Interface Class IpAppChargingManager
  • 20 ETSI ES 204 915-12 V1.1.1 (2008-05)
  • 8.3 Interface Class IpChargingSession
  • 21 ETSI ES 204 915-12 V1.1.1 (2008-05)
  • 22 ETSI ES 204 915-12 V1.1.1 (2008-05)
  • 23 ETSI ES 204 915-12 V1.1.1 (2008-05)
  • 24 ETSI ES 204 915-12 V1.1.1 (2008-05)
  • 25 ETSI ES 204 915-12 V1.1.1 (2008-05)
  • 26 ETSI ES 204 915-12 V1.1.1 (2008-05)
  • 27 ETSI ES 204 915-12 V1.1.1 (2008-05)
  • 28 ETSI ES 204 915-12 V1.1.1 (2008-05)
  • 29 ETSI ES 204 915-12 V1.1.1 (2008-05)
  • 8.4 Interface Class IpAppChargingSession
  • 30 ETSI ES 204 915-12 V1.1.1 (2008-05)
  • 31 ETSI ES 204 915-12 V1.1.1 (2008-05)
  • 32 ETSI ES 204 915-12 V1.1.1 (2008-05)
  • 33 ETSI ES 204 915-12 V1.1.1 (2008-05)
  • 34 ETSI ES 204 915-12 V1.1.1 (2008-05)
  • 35 ETSI ES 204 915-12 V1.1.1 (2008-05)
  • 36 ETSI ES 204 915-12 V1.1.1 (2008-05)
  • 37 ETSI ES 204 915-12 V1.1.1 (2008-05)
  • 38 ETSI ES 204 915-12 V1.1.1 (2008-05)
  • 39 ETSI ES 204 915-12 V1.1.1 (2008-05)
  • 40 ETSI ES 204 915-12 V1.1.1 (2008-05)
  • 9 State Transition Diagrams
  • 9.1 State Transition Diagrams for IpChargingSession
  • 41 ETSI ES 204 915-12 V1.1.1 (2008-05)
  • 10 Content Based Charging Service Properties
  • 42 ETSI ES 204 915-12 V1.1.1 (2008-05)
  • 11 Data Definitions
  • 11.1 Charging Data Definitions
  • 43 ETSI ES 204 915-12 V1.1.1 (2008-05)
  • 44 ETSI ES 204 915-12 V1.1.1 (2008-05)
  • 45 ETSI ES 204 915-12 V1.1.1 (2008-05)
  • 46 ETSI ES 204 915-12 V1.1.1 (2008-05)
  • 47 ETSI ES 204 915-12 V1.1.1 (2008-05)
  • 12 Exception Classes
  • 48 ETSI ES 204 915-12 V1.1.1 (2008-05)
  • 49 ETSI ES 204 915-12 V1.1.1 (2008-05)
  • 50 ETSI ES 204 915-12 V1.1.1 (2008-05)
  • 51 ETSI ES 204 915-12 V1.1.1 (2008-05)
  • 52 ETSI ES 204 915-12 V1.1.1 (2008-05)
  • 53 ETSI ES 204 915-12 V1.1.1 (2008-05)
  • 54 ETSI ES 204 915-12 V1.1.1 (2008-05)
  • 55 ETSI ES 204 915-12 V1.1.1 (2008-05)
  • 56 ETSI ES 204 915-12 V1.1.1 (2008-05)
  • 57 ETSI ES 204 915-12 V1.1.1 (2008-05)

1 Scope

The present document is part 12 of the Stage 3 specification for an Application Programming Interface (API) for Open Service Access (OSA).

The OSA specifications define an architecture that enables application developers to make use of network functionality through an open standardised interface, i.e. the OSA APIs.

The present document specifies the Charging Service Capability Feature (SCF) aspects of the interface. All aspects of the Charging SCF are defined here, these being:

  • Sequence Diagrams.
  • Class Diagrams.
  • Interface specification plus detailed method descriptions.
  • State Transition diagrams.
  • Data Definitions.
  • IDL Description of the interfaces.
  • WSDL Description of the interfaces.
  • Reference to the Java™ API description of the interfaces.

The process by which this task is accomplished is through the use of object modelling techniques described by the Unified Modelling Language (UML).

2 References

The references listed in clause 2 of ES 204 915-1 contain provisions which, through reference in this text, constitute provisions of the present document.

ETSI ES 204 915-1: "Open Service Access (OSA); Application Programming Interface (API); Part 1: Overview (Parlay 6)".

3 Definitions and abbreviations

3.1 Definitions

For the purposes of the present document, the terms and definitions given in ES 204 915-1 apply.

3.2 Abbreviations

For the purposes of the present document, the abbreviations given in ES 204 915-1 apply. ETSI

9 ETSI ES 204 915-12 V1.1.1 (2008-05)

4 Charging SCF

The following clauses describe each aspect of the Charging Service Capability Feature (SCF). The order is as follows:

  • The Sequence diagrams give the reader a practical idea of how each of the SCF is implemented.
  • The Class relationships clause shows how each of the interfaces applicable to the SCF, relate to one another.
  • The Interface specification clause describes in detail each of the interfaces shown within the Class diagram part.
  • The State Transition Diagrams (STD) show the transition between states in the SCF. The states and transitions are well-defined; either methods specified in the Interface specification or events occurring in the underlying networks cause state transitions.
  • The Data Definitions clause shows a detailed expansion of each of the data types associated with the methods within the classes. Note that some data types are used in other methods and classes and are therefore defined within the Common Data types part ES 204 915-2.

4.1 General requirements on support of methods

An implementation of this API which supports or implements a method described in the present document, shall support or implement the functionality described for that method, for at least one valid set of values for the parameters of that method.

Where a method is not supported by an implementation of a Service interface, the exception P_METHOD_NOT_SUPPORTED shall be returned to any call of that method. Where a method is not supported by an implementation of an Application interface, a call to that method shall be possible, and no exception shall be returned.

5 Sequence Diagrams

5.1 Reservation / payment in parts

The sequence diagram illustrates how to request a reservation and how to charge a user from the reserved amount, for instance to charge a user for a streamed video which lasts 10 minutes and costs a total of $2.00. The operations and interfaces that do not provide rating are employed throughout this sequence diagram. We assume the application has already discovered the Charging SCF. As a result, the application received an object reference pointing to an object that implements the IpChargingManager interface. The operations which handle units are used exactly the same, except that the amount of application usage is indicated instead of a price.

ETSI

10 ETSI ES 204 915-12 V1.1.1 (2008-05)

Application : IpAppChargingSession : IpChargingManager : IpChargingSession 1: new() 2: createChargingSession( ) 3: new() 4: reserveAmountReq( ) 5: reserveAmountRes( ) 6: forward event() 7: debitAmountReq( ) 8: debitAmountRes( ) 9: forward event() 10: getLifeTimeLeft( ) 11: extendLifeTimeReq( ) 12: extendLifeTimeRes( ) 13: forward event() 14: debitAmountReq( ) 15: debitAmountRes( ) 16: forward event() 17: release( )

1: The application creates a local object implementing the IpAppChargingSession interface. This object will receive response messages from the IpChargingSession object.

2: The application opens a charging session, a reference to a new or existing object implementing IpChargingSession is returned together with a unique session ID. ETSI

11 ETSI ES 204 915-12 V1.1.1 (2008-05)

3: In this case a new object is used.

4: The application requests the reservation of $2.00.

5: Assuming the criteria for requesting a reservation are met (the application provider has permission to charge the requested amount, the charged user has agreed to pay the requested amount), the amount is reserved in the session. At this point, the application provider knows that the network operator will accept later debit requests up to the reserved amount. So, the application may start serving the user, for instance by sending the video stream.

6: The successful reservation is reported back to the application. After half of the video has been sent to the user, the application may choose to capture half of the price already:

7: The application requests to debit $1.00 from the reservation. 8: The successful debit is reported back to the application.

9: The acknowledge is forwarded to the application.

10: The application checks if the remaining lifetime of the reservation will cover the remaining 5 minutes of video. Let us assume, it does not.

11: The application asks the IpChargingSession object to extend the lifetime of the reservation. 12: Assuming that the application provider is allowed to keep reservations open for longer than 10 minutes, the extendLifeTimeReq() will be honoured and confirmed properly.

13: The confirmation is forwarded to the application.

14: When the complete video has been transmitted to the user without errors, the application charges another $1.00.

15: The IpChargingSession object acknowledges the successful debit at the IpAppChargingSession callback object.

16: The IpAppChargingSession object forwards the acknowledge to the application. 17: Since the service is complete, the application frees all resources associated with the reservation and session.

5.2 Immediate Charge

This sequence diagram illustrates how immediate charging is used. Assume a WAP gateway that charges the user $0.01 per requested URL. Since it is acceptable to loose one tick worth $0.01, no prior reservations are made. The WAP gateway sends an immediate debit for each requested URL, and should a payment have as result failure, the user is disconnected.

The operations which handle units are used exactly the same, except that the amount of application usage is indicated instead of a price.

ETSI

12 ETSI ES 204 915-12 V1.1.1 (2008-05)

Application : IpAppChargingSession : IpChargingManager : IpChargingSession 1: new() 2: createChargingSession( ) 3: directDebitAmountReq( ) 4: directDebitAmountRes( ) 5: forward notification 6: directDebitAmountReq( ) 7: directDebitAmountErr( ) 8: forward notification 9: release( )

1: The application creates a local object implementing the IpAppChargingSession interface. This object will receive response messages from the IpChargingSession object.

2: The application orders the creation of a session. No new object is created for the charging session handling in this example implementation.

3: The application requests to charge the user $0.01.

4: The payment is acknowledged.

5: The acknowledgement is forwarded in the application.

6: The application requests to charge the user $0.01.

7: The payment is reported to fail.

8: The failure report is forwarded in the application.

(repeat steps 3 to 5 and 6 to 8 as long as you want to in any order you want to). 9: The application releases the session.

ETSI

13 ETSI ES 204 915-12 V1.1.1 (2008-05)

6 Class Diagrams

This class diagram shows the application interfaces for charging and their relations to the service interfaces. IpInterface (from csapi) IpAppChargingSession (from cs) creditAmountErr() creditAmountRes() IpChargingSession creditUnitErr() (from cs) creditUnitRes() debitAmountErr() creditAmountReq() debitAmountRes() creditUnitReq() debitUnitErr() debitAmountReq() debitUnitRes() debitUnitReq() directCreditAmountErr() directCreditAmountReq() directCreditAmountRes() directCreditUnitReq() <<uses>> directCreditUnitErr() directDebitAmountReq() directCreditUnitRes() directDebitUnitReq() directDebitAmountErr() extendLifeTimeReq() directDebitAmountRes() getAmountLeft() directDebitUnitErr() getLifeTimeLeft() directDebitUnitRes() getUnitLeft() extendLifeTimeErr() rateReq() extendLifeTimeRes() release() rateErr() reserveAmountReq() rateRes() reserveUnitReq() reserveAmountErr() reserveAmountRes() 0..n reserveUnitErr() reserveUnitRes() sessionEnded() 0..n

IpChargingManager IpAppChargingManager (from cs) (from cs) <<uses>> createChargingSession() sessionAborted() createSplitChargingSession() abortMultipleChargingSessions()

Figure 1: Application Interfaces This class diagram shows the interfaces of the charging SCF.

ETSI

14 ETSI ES 204 915-12 V1.1.1 (2008-05)

<<Interface>> IpService (f rom c sap i) setCallback() setCallbackWithSessionID() <<Interface>> <<Interface>> IpChargingManager IpChargingSession (from cs) (from cs) createChargingSession() creditAmountReq() createSplitChargingSession() creditUnitReq() debitAmountReq() debitUnitReq() directCreditAmountReq() directCreditUnitReq() directDebitAmountReq() directDebitUnitReq() extendLifeTimeReq() getAmountLeft() getLifeTimeLeft() getUnitLeft() rateReq() release() reserveAmountReq() reserveUnitReq()

Figure 2: Service Interfaces

7 The Service Interface Specifications

7.1 Interface Specification Format

This clause defines the interfaces, methods and parameters that form a part of the API specification. The Unified Modelling Language (UML) is used to specify the interface classes. The general format of an interface specification is described below.

ETSI

15 ETSI ES 204 915-12 V1.1.1 (2008-05)

7.1.1 Interface Class

This shows a UML interface class description of the methods supported by that interface, and the relevant parameters and types. The Service and Framework interfaces for enterprise-based client applications are denoted by classes with name Ip<name>. The callback interfaces to the applications are denoted by classes with name IpApp<name>. For the interfaces between a Service and the Framework, the Service interfaces are typically denoted by classes with name IpSvc<name>, while the Framework interfaces are denoted by classes with name IpFw<name>.

7.1.2 Method descriptions

Each method (API method “call”) is described. Both synchronous and asynchronous methods are used in the API. Asynchronous methods are identified by a 'Req' suffix for a method request, and, if applicable, are served by asynchronous methods identified by either a 'Res' or 'Err' suffix for method results and errors, respectively. To handle responses and reports, the application or service developer must implement the relevant IpApp<name> or IpSvc<name> interfaces to provide the callback mechanism.

7.1.3 Parameter descriptions

Each method parameter and its possible values are described. Parameters described as 'in' represent those that must have a value when the method is called. Those described as 'out' are those that contain the return result of the method when the method returns.

7.1.4 State Model

If relevant, a state model is shown to illustrate the states of the objects that implement the described interface.

7.2 Base Interface

7.2.1 Interface Class IpInterface

All application, framework and service interfaces inherit from the following interface. This API Base Interface does not provide any additional methods.

<<Interface>> IpInterface

7.3 Service Interfaces

7.3.1 Overview

The Service Interfaces provide the interfaces into the capabilities of the underlying network - such as call control, user interaction, messaging, mobility and connectivity management.

The interfaces that are implemented by the services are denoted as 'Service Interface'. The corresponding interfaces that must be implemented by the application (e.g. for API callbacks) are denoted as 'Application Interface'. ETSI

16 ETSI ES 204 915-12 V1.1.1 (2008-05)

7.4 Generic Service Interface

7.4.1 Interface Class IpService

Inherits from: IpInterface; All service interfaces inherit from the following interface.

<<Interface>> IpService

setCallback (appInterface : in IpInterfaceRef) : void setCallbackWithSessionID (appInterface : in IpInterfaceRef, sessionID : in TpSessionID) : void

7.4.1.1 Method setCallback()

This method specifies the reference address of the callback interface that a service uses to invoke methods on the application. It is not allowed to invoke this method on an interface that uses SessionIDs. Multiple invocations of this method on an interface shall result in multiple callback references being specified. The SCS shall use the most recent callback interface provided by the application using this method. In the event that a callback reference fails or is no longer available, the next most recent callback reference available shall be used. Parameters appInterface : in IpInterfaceRef Specifies a reference to the application interface, which is used for callbacks. Raises TpCommonExceptions, P_INVALID_INTERFACE_TYPE

7.4.1.2 Method setCallbackWithSessionID()

This method specifies the reference address of the application's callback interface that a service uses for interactions associated with a specific session ID: e.g. a specific call, or call leg. It is not allowed to invoke this method on an interface that does not use SessionIDs. Multiple invocations of this method on an interface shall result in multiple callback references being specified. The SCS shall use the most recent callback interface provided by the application using this method. In the event that a callback reference fails or is no longer available, the next most recent callback reference available shall be used.

Parameters appInterface : in IpInterfaceRef Specifies a reference to the application interface, which is used for callbacks. sessionID : in TpSessionID Specifies the session for which the service can invoke the application's callback interface. Raises TpCommonExceptions, P_INVALID_SESSION_ID, P_INVALID_INTERFACE_TYPE ETSI

17 ETSI ES 204 915-12 V1.1.1 (2008-05)

8 Charging Interface Classes

The Charging SCF is used by applications to charge for the usage of the applications. The charged user can be the same user as that uses the application. It is also possible that another user will pay the charge. In the interfaces of the Charging SCF a "Request Number" is used when invoking operations that operate on the user's account (directly or indirectly via reservations) in order to make retries possible after application, service, or communication errors. A retry of these operations can be done by invoking the same operation with the same Request Number.

In the callback to the application, the Request Number to be used for the next request operation is returned. This is the only Request Number besides the one in the last request operation that can be used. This mechanism ensures that an application retries an operation when it does not receive an answer. The use of the Request Number ensures that there can only be one outstanding request per Charging Session. Only after an answer is received (result or error), the next request can be made. Note however that only asynchronous operations that could lead to over or under charging of the user require a request number. Because responses from the Charging SCF can be delayed in the network the Charging SCF shall guarantee that Request Numbers are unique in a timespan where delayed responses can arrive. Suppose, for example, that the response from a retried request is received indicating the next request number to use is 1 000. During the period that the response to the original request (which also carries the next request number to use equal to 1 000) can arrive, this request number may not be used again.

The units (of different types) that are used in a TpVolumeSet are NOT consolidated by the charging SCF. The application must use the same units when making the reservation and when debiting the amount. For example, when after a reservation of 10 minutes a debit request for 5 seconds is done, an error will be returned. Split Charging Functionality.

There are cases where a single instance of the merchant application may serve more than a one service user. Examples are multi-user games or conferences. Typically, the costs for the resources consumed by the single service instance will be split among all service users.

On the other hand, a merchant application may show advertisements within its application, and in turn the company that is advertised may subside a certain percentage of the application cost. A consumer connecting to the merchant application pays only part of the costs, while the remainder is paid by the advertised company. To support this kind of application, multiple users can be specified when a charging session is created. The charging session interface itself is the same no matter if the split charging feature is used or not. It is subject to service level agreements that are negotiated between the OSA client provider and the network operator how the charge is split between the users.

8.1 Interface Class IpChargingManager

Inherits from: IpService.

This interface is the 'service manager' interface for the Charging Service. The Charging manager interface provides management functions to the charging service. The application programmer can use this interface to start charging sessions.

This interface shall be implemented by a Charging SCF. As a minimum requirement, at least one of createChargingSession() or createSplitChargingSession() shall be implemented. ETSI

18 ETSI ES 204 915-12 V1.1.1 (2008-05)

<<Interface>> IpChargingManager

createChargingSession (appChargingSession : in IpAppChargingSessionRef, sessionDescription : in TpString, merchantAccount : in TpMerchantAccountID, user : in TpAddress, correlationID : in TpCorrelationID) : TpChargingSessionID createSplitChargingSession (appChargingSession : in IpAppChargingSessionRef, sessionDescription : in TpString, merchantAccount : in TpMerchantAccountID, users : in TpAddressSet, correlationID : in TpCorrelationID) : TpChargingSessionID

8.1.1 Method createChargingSession()

This method creates an instance of the IpChargingSession interface to handle the charging events related to the specified user and to the application invoking this method. An IpAppChargingManager should already have been passed to the IpChargingManager, otherwise the charging manager will not be able to report a sessionAborted() to the application (the application should invoke setCallback() if it wishes to ensure this). Returns chargingSession: Defines the session.

Parameters appChargingSession : in IpAppChargingSessionRef Callback interface for the session in the application.

sessionDescription : in TpString Descriptive text for informational purposes.

...

Contents

  • 1 Scope
  • 2 References
  • 3 Definitions and abbreviations
  • 3.1 Definitions
  • 3.2 Abbreviations
  • 9 ETSI ES 204 915-12 V1.1.1 (2008-05)
  • 4 Charging SCF
  • 4.1 General requirements on support of methods
  • 5 Sequence Diagrams
  • 5.1 Reservation / payment in parts
  • 10 ETSI ES 204 915-12 V1.1.1 (2008-05)
  • 11 ETSI ES 204 915-12 V1.1.1 (2008-05)
  • 5.2 Immediate Charge
  • 12 ETSI ES 204 915-12 V1.1.1 (2008-05)
  • 13 ETSI ES 204 915-12 V1.1.1 (2008-05)
  • 6 Class Diagrams
  • 14 ETSI ES 204 915-12 V1.1.1 (2008-05)
  • 7 The Service Interface Specifications
  • 7.1 Interface Specification Format
  • 15 ETSI ES 204 915-12 V1.1.1 (2008-05)
  • 7.2 Base Interface
  • 7.3 Service Interfaces
  • 16 ETSI ES 204 915-12 V1.1.1 (2008-05)
  • 7.4 Generic Service Interface
  • 17 ETSI ES 204 915-12 V1.1.1 (2008-05)
  • 8 Charging Interface Classes
  • 8.1 Interface Class IpChargingManager
  • 18 ETSI ES 204 915-12 V1.1.1 (2008-05)
  • 19 ETSI ES 204 915-12 V1.1.1 (2008-05)
  • 8.2 Interface Class IpAppChargingManager
  • 20 ETSI ES 204 915-12 V1.1.1 (2008-05)
  • 8.3 Interface Class IpChargingSession
  • 21 ETSI ES 204 915-12 V1.1.1 (2008-05)
  • 22 ETSI ES 204 915-12 V1.1.1 (2008-05)
  • 23 ETSI ES 204 915-12 V1.1.1 (2008-05)
  • 24 ETSI ES 204 915-12 V1.1.1 (2008-05)
  • 25 ETSI ES 204 915-12 V1.1.1 (2008-05)
  • 26 ETSI ES 204 915-12 V1.1.1 (2008-05)
  • 27 ETSI ES 204 915-12 V1.1.1 (2008-05)
  • 28 ETSI ES 204 915-12 V1.1.1 (2008-05)
  • 29 ETSI ES 204 915-12 V1.1.1 (2008-05)
  • 8.4 Interface Class IpAppChargingSession
  • 30 ETSI ES 204 915-12 V1.1.1 (2008-05)
  • 31 ETSI ES 204 915-12 V1.1.1 (2008-05)
  • 32 ETSI ES 204 915-12 V1.1.1 (2008-05)
  • 33 ETSI ES 204 915-12 V1.1.1 (2008-05)
  • 34 ETSI ES 204 915-12 V1.1.1 (2008-05)
  • 35 ETSI ES 204 915-12 V1.1.1 (2008-05)
  • 36 ETSI ES 204 915-12 V1.1.1 (2008-05)
  • 37 ETSI ES 204 915-12 V1.1.1 (2008-05)
  • 38 ETSI ES 204 915-12 V1.1.1 (2008-05)
  • 39 ETSI ES 204 915-12 V1.1.1 (2008-05)
  • 40 ETSI ES 204 915-12 V1.1.1 (2008-05)
  • 9 State Transition Diagrams
  • 9.1 State Transition Diagrams for IpChargingSession
  • 41 ETSI ES 204 915-12 V1.1.1 (2008-05)
  • 10 Content Based Charging Service Properties
  • 42 ETSI ES 204 915-12 V1.1.1 (2008-05)
  • 11 Data Definitions
  • 11.1 Charging Data Definitions
  • 43 ETSI ES 204 915-12 V1.1.1 (2008-05)
  • 44 ETSI ES 204 915-12 V1.1.1 (2008-05)
  • 45 ETSI ES 204 915-12 V1.1.1 (2008-05)
  • 46 ETSI ES 204 915-12 V1.1.1 (2008-05)
  • 47 ETSI ES 204 915-12 V1.1.1 (2008-05)
  • 12 Exception Classes
  • 48 ETSI ES 204 915-12 V1.1.1 (2008-05)
  • 49 ETSI ES 204 915-12 V1.1.1 (2008-05)
  • 50 ETSI ES 204 915-12 V1.1.1 (2008-05)
  • 51 ETSI ES 204 915-12 V1.1.1 (2008-05)
  • 52 ETSI ES 204 915-12 V1.1.1 (2008-05)
  • 53 ETSI ES 204 915-12 V1.1.1 (2008-05)
  • 54 ETSI ES 204 915-12 V1.1.1 (2008-05)
  • 55 ETSI ES 204 915-12 V1.1.1 (2008-05)
  • 56 ETSI ES 204 915-12 V1.1.1 (2008-05)
  • 57 ETSI ES 204 915-12 V1.1.1 (2008-05)

1 Scope

The present document is part 12 of the Stage 3 specification for an Application Programming Interface (API) for Open Service Access (OSA).

The OSA specifications define an architecture that enables application developers to make use of network functionality through an open standardised interface, i.e. the OSA APIs.

The present document specifies the Charging Service Capability Feature (SCF) aspects of the interface. All aspects of the Charging SCF are defined here, these being:

  • Sequence Diagrams.
  • Class Diagrams.
  • Interface specification plus detailed method descriptions.
  • State Transition diagrams.
  • Data Definitions.
  • IDL Description of the interfaces.
  • WSDL Description of the interfaces.
  • Reference to the Java™ API description of the interfaces.

The process by which this task is accomplished is through the use of object modelling techniques described by the Unified Modelling Language (UML).

2 References

The references listed in clause 2 of ES 204 915-1 contain provisions which, through reference in this text, constitute provisions of the present document.

ETSI ES 204 915-1: "Open Service Access (OSA); Application Programming Interface (API); Part 1: Overview (Parlay 6)".

3 Definitions and abbreviations

3.1 Definitions

For the purposes of the present document, the terms and definitions given in ES 204 915-1 apply.

3.2 Abbreviations

For the purposes of the present document, the abbreviations given in ES 204 915-1 apply. ETSI

SIST ES 204 915-12 V1.1.1:2008

9 ETSI ES 204 915-12 V1.1.1 (2008-05)

4 Charging SCF

The following clauses describe each aspect of the Charging Service Capability Feature (SCF). The order is as follows:

  • The Sequence diagrams give the reader a practical idea of how each of the SCF is implemented.
  • The Class relationships clause shows how each of the interfaces applicable to the SCF, relate to one another.
  • The Interface specification clause describes in detail each of the interfaces shown within the Class diagram part.
  • The State Transition Diagrams (STD) show the transition between states in the SCF. The states and transitions are well-defined; either methods specified in the Interface specification or events occurring in the underlying networks cause state transitions.
  • The Data Definitions clause shows a detailed expansion of each of the data types associated with the methods within the classes. Note that some data types are used in other methods and classes and are therefore defined within the Common Data types part ES 204 915-2.

4.1 General requirements on support of methods

An implementation of this API which supports or implements a method described in the present document, shall support or implement the functionality described for that method, for at least one valid set of values for the parameters of that method.

Where a method is not supported by an implementation of a Service interface, the exception P_METHOD_NOT_SUPPORTED shall be returned to any call of that method. Where a method is not supported by an implementation of an Application interface, a call to that method shall be possible, and no exception shall be returned.

5 Sequence Diagrams

5.1 Reservation / payment in parts

The sequence diagram illustrates how to request a reservation and how to charge a user from the reserved amount, for instance to charge a user for a streamed video which lasts 10 minutes and costs a total of $2.00. The operations and interfaces that do not provide rating are employed throughout this sequence diagram. We assume the application has already discovered the Charging SCF. As a result, the application received an object reference pointing to an object that implements the IpChargingManager interface. The operations which handle units are used exactly the same, except that the amount of application usage is indicated instead of a price.

ETSI

SIST ES 204 915-12 V1.1.1:2008

10 ETSI ES 204 915-12 V1.1.1 (2008-05)

Application : IpAppChargingSession : IpChargingManager : IpChargingSession 1: new() 2: createChargingSession( ) 3: new() 4: reserveAmountReq( ) 5: reserveAmountRes( ) 6: forward event() 7: debitAmountReq( ) 8: debitAmountRes( ) 9: forward event() 10: getLifeTimeLeft( ) 11: extendLifeTimeReq( ) 12: extendLifeTimeRes( ) 13: forward event() 14: debitAmountReq( ) 15: debitAmountRes( ) 16: forward event() 17: release( )

1: The application creates a local object implementing the IpAppChargingSession interface. This object will receive response messages from the IpChargingSession object.

2: The application opens a charging session, a reference to a new or existing object implementing IpChargingSession is returned together with a unique session ID. ETSI

SIST ES 204 915-12 V1.1.1:2008

11 ETSI ES 204 915-12 V1.1.1 (2008-05)

3: In this case a new object is used.

4: The application requests the reservation of $2.00.

5: Assuming the criteria for requesting a reservation are met (the application provider has permission to charge the requested amount, the charged user has agreed to pay the requested amount), the amount is reserved in the session. At this point, the application provider knows that the network operator will accept later debit requests up to the reserved amount. So, the application may start serving the user, for instance by sending the video stream.

6: The successful reservation is reported back to the application. After half of the video has been sent to the user, the application may choose to capture half of the price already:

7: The application requests to debit $1.00 from the reservation. 8: The successful debit is reported back to the application.

9: The acknowledge is forwarded to the application.

10: The application checks if the remaining lifetime of the reservation will cover the remaining 5 minutes of video. Let us assume, it does not.

11: The application asks the IpChargingSession object to extend the lifetime of the reservation. 12: Assuming that the application provider is allowed to keep reservations open for longer than 10 minutes, the extendLifeTimeReq() will be honoured and confirmed properly.

13: The confirmation is forwarded to the application.

14: When the complete video has been transmitted to the user without errors, the application charges another $1.00.

15: The IpChargingSession object acknowledges the successful debit at the IpAppChargingSession callback object.

16: The IpAppChargingSession object forwards the acknowledge to the application. 17: Since the service is complete, the application frees all resources associated with the reservation and session.

5.2 Immediate Charge

This sequence diagram illustrates how immediate charging is used. Assume a WAP gateway that charges the user $0.01 per requested URL. Since it is acceptable to loose one tick worth $0.01, no prior reservations are made. The WAP gateway sends an immediate debit for each requested URL, and should a payment have as result failure, the user is disconnected.

The operations which handle units are used exactly the same, except that the amount of application usage is indicated instead of a price.

ETSI

SIST ES 204 915-12 V1.1.1:2008

12 ETSI ES 204 915-12 V1.1.1 (2008-05)

Application : IpAppChargingSession : IpChargingManager : IpChargingSession 1: new() 2: createChargingSession( ) 3: directDebitAmountReq( ) 4: directDebitAmountRes( ) 5: forward notification 6: directDebitAmountReq( ) 7: directDebitAmountErr( ) 8: forward notification 9: release( )

1: The application creates a local object implementing the IpAppChargingSession interface. This object will receive response messages from the IpChargingSession object.

2: The application orders the creation of a session. No new object is created for the charging session handling in this example implementation.

3: The application requests to charge the user $0.01.

4: The payment is acknowledged.

5: The acknowledgement is forwarded in the application.

6: The application requests to charge the user $0.01.

7: The payment is reported to fail.

8: The failure report is forwarded in the application.

(repeat steps 3 to 5 and 6 to 8 as long as you want to in any order you want to). 9: The application releases the session.

ETSI

SIST ES 204 915-12 V1.1.1:2008

13 ETSI ES 204 915-12 V1.1.1 (2008-05)

6 Class Diagrams

This class diagram shows the application interfaces for charging and their relations to the service interfaces. IpInterface (from csapi) IpAppChargingSession (from cs) creditAmountErr() creditAmountRes() IpChargingSession creditUnitErr() (from cs) creditUnitRes() debitAmountErr() creditAmountReq() debitAmountRes() creditUnitReq() debitUnitErr() debitAmountReq() debitUnitRes() debitUnitReq() directCreditAmountErr() directCreditAmountReq() directCreditAmountRes() directCreditUnitReq() <<uses>> directCreditUnitErr() directDebitAmountReq() directCreditUnitRes() directDebitUnitReq() directDebitAmountErr() extendLifeTimeReq() directDebitAmountRes() getAmountLeft() directDebitUnitErr() getLifeTimeLeft() directDebitUnitRes() getUnitLeft() extendLifeTimeErr() rateReq() extendLifeTimeRes() release() rateErr() reserveAmountReq() rateRes() reserveUnitReq() reserveAmountErr() reserveAmountRes() 0..n reserveUnitErr() reserveUnitRes() sessionEnded() 0..n

IpChargingManager IpAppChargingManager (from cs) (from cs) <<uses>> createChargingSession() sessionAborted() createSplitChargingSession() abortMultipleChargingSessions()

Figure 1: Application Interfaces This class diagram shows the interfaces of the charging SCF.

ETSI

SIST ES 204 915-12 V1.1.1:2008

14 ETSI ES 204 915-12 V1.1.1 (2008-05)

<<Interface>> IpService (f rom c sap i) setCallback() setCallbackWithSessionID() <<Interface>> <<Interface>> IpChargingManager IpChargingSession (from cs) (from cs) createChargingSession() creditAmountReq() createSplitChargingSession() creditUnitReq() debitAmountReq() debitUnitReq() directCreditAmountReq() directCreditUnitReq() directDebitAmountReq() directDebitUnitReq() extendLifeTimeReq() getAmountLeft() getLifeTimeLeft() getUnitLeft() rateReq() release() reserveAmountReq() reserveUnitReq()

Figure 2: Service Interfaces

7 The Service Interface Specifications

7.1 Interface Specification Format

This clause defines the interfaces, methods and parameters that form a part of the API specification. The Unified Modelling Language (UML) is used to specify the interface classes. The general format of an interface specification is described below.

ETSI

SIST ES 204 915-12 V1.1.1:2008

15 ETSI ES 204 915-12 V1.1.1 (2008-05)

7.1.1 Interface Class

This shows a UML interface class description of the methods supported by that interface, and the relevant parameters and types. The Service and Framework interfaces for enterprise-based client applications are denoted by classes with name Ip<name>. The callback interfaces to the applications are denoted by classes with name IpApp<name>. For the interfaces between a Service and the Framework, the Service interfaces are typically denoted by classes with name IpSvc<name>, while the Framework interfaces are denoted by classes with name IpFw<name>.

7.1.2 Method descriptions

Each method (API method “call”) is described. Both synchronous and asynchronous methods are used in the API. Asynchronous methods are identified by a 'Req' suffix for a method request, and, if applicable, are served by asynchronous methods identified by either a 'Res' or 'Err' suffix for method results and errors, respectively. To handle responses and reports, the application or service developer must implement the relevant IpApp<name> or IpSvc<name> interfaces to provide the callback mechanism.

7.1.3 Parameter descriptions

Each method parameter and its possible values are described. Parameters described as 'in' represent those that must have a value when the method is called. Those described as 'out' are those that contain the return result of the method when the method returns.

7.1.4 State Model

If relevant, a state model is shown to illustrate the states of the objects that implement the described interface.

7.2 Base Interface

7.2.1 Interface Class IpInterface

All application, framework and service interfaces inherit from the following interface. This API Base Interface does not provide any additional methods.

<<Interface>> IpInterface

7.3 Service Interfaces

7.3.1 Overview

The Service Interfaces provide the interfaces into the capabilities of the underlying network - such as call control, user interaction, messaging, mobility and connectivity management.

The interfaces that are implemented by the services are denoted as 'Service Interface'. The corresponding interfaces that must be implemented by the application (e.g. for API callbacks) are denoted as 'Application Interface'. ETSI

SIST ES 204 915-12 V1.1.1:2008

16 ETSI ES 204 915-12 V1.1.1 (2008-05)

7.4 Generic Service Interface

7.4.1 Interface Class IpService

Inherits from: IpInterface; All service interfaces inherit from the following interface.

<<Interface>> IpService

setCallback (appInterface : in IpInterfaceRef) : void setCallbackWithSessionID (appInterface : in IpInterfaceRef, sessionID : in TpSessionID) : void

7.4.1.1 Method setCallback()

This method specifies the reference address of the callback interface that a service uses to invoke methods on the application. It is not allowed to invoke this method on an interface that uses SessionIDs. Multiple invocations of this method on an interface shall result in multiple callback references being specified. The SCS shall use the most recent callback interface provided by the application using this method. In the event that a callback reference fails or is no longer available, the next most recent callback reference available shall be used. Parameters appInterface : in IpInterfaceRef Specifies a reference to the application interface, which is used for callbacks. Raises TpCommonExceptions, P_INVALID_INTERFACE_TYPE

7.4.1.2 Method setCallbackWithSessionID()

This method specifies the reference address of the application's callback interface that a service uses for interactions associated with a specific session ID: e.g. a specific call, or call leg. It is not allowed to invoke this method on an interface that does not use SessionIDs. Multiple invocations of this method on an interface shall result in multiple callback references being specified. The SCS shall use the most recent callback interface provided by the application using this method. In the event that a callback reference fails or is no longer available, the next most recent callback reference available shall be used.

Parameters appInterface : in IpInterfaceRef Specifies a reference to the application interface, which is used for callbacks. sessionID : in TpSessionID Specifies the session for which the service can invoke the application's callback interface. Raises TpCommonExceptions, P_INVALID_SESSION_ID, P_INVALID_INTERFACE_TYPE ETSI

SIST ES 204 915-12 V1.1.1:2008

17 ETSI ES 204 915-12 V1.1.1 (2008-05)

8 Charging Interface Classes

The Charging SCF is used by applications to charge for the usage of the applications. The charged user can be the same user as that uses the application. It is also possible that another user will pay the charge. In the interfaces of the Charging SCF a "Request Number" is used when invoking operations that operate on the user's account (directly or indirectly via reservations) in order to make retries possible after application, service, or communication errors. A retry of these operations can be done by invoking the same operation with the same Request Number.

In the callback to the application, the Request Number to be used for the next request operation is returned. This is the only Request Number besides the one in the last request operation that can be used. This mechanism ensures that an application retries an operation when it does not receive an answer. The use of the Request Number ensures that there can only be one outstanding request per Charging Session. Only after an answer is received (result or error), the next request can be made. Note however that only asynchronous operations that could lead to over or under charging of the user require a request number. Because responses from the Charging SCF can be delayed in the network the Charging SCF shall guarantee that Request Numbers are unique in a timespan where delayed responses can arrive. Suppose, for example, that the response from a retried request is received indicating the next request number to use is 1 000. During the period that the response to the original request (which also carries the next request number to use equal to 1 000) can arrive, this request number may not be used again.

The units (of different types) that are used in a TpVolumeSet are NOT consolidated by the charging SCF. The application must use the same units when making the reservation and when debiting the amount. For example, when after a reservation of 10 minutes a debit request for 5 seconds is done, an error will be returned. Split Charging Functionality.

There are cases where a single instance of the merchant application may serve more than a one service user. Examples are multi-user games or conferences. Typically, the costs for the resources consumed by the single service instance will be split among all service users.

On the other hand, a merchant application may show advertisements within its application, and in turn the company that is advertised may subside a certain percentage of the application cost. A consumer connecting to the merchant application pays only part of the costs, while the remainder is paid by the advertised company. To support this kind of application, multiple users can be specified when a charging session is created. The charging session interface itself is the same no matter if the split charging feature is used or not. It is subject to service level agreements that are negotiated between the OSA client provider and the network operator how the charge is split between the users.

8.1 Interface Class IpChargingManager

Inherits from: IpService.

This interface is the 'service manager' interface for the Charging Service. The Charging manager interface provides management functions to the charging service. The application programmer can use this interface to start charging sessions.

This interface shall be implemented by a Charging SCF. As a minimum requirement, at least one of createChargingSession() or createSplitChargingSession() shall be implemented. ETSI

SIST ES 204 915-12 V1.1.1:2008

18 ETSI ES 204 915-12 V1.1.1 (2008-05)

<<Interface>> IpChargingManager

createChargingSession (appChargingSession : in IpAppChargingSessionRef, sessionDescription : in TpString, merchantAccount : in TpMerchantAccountID, user : in TpAddress, correlationID : in TpCorrelationID) : TpChargingSessionID createSplitChargingSession (appChargingSession : in IpAppChargingSessionRef, sessionDescription : in TpString, merchantAccount : in TpMerchantAccountID, users : in TpAddressSet, correlationID : in TpCorrelationID) : TpChargingSessionID

8.1.1 Method createChargingSession()

This method creates an instance of the IpChargingSession interface to handle the charging events related to the specified user and to the application invoking this method. An IpAppChargingManager should already have been passed to the IpChargingManager, otherwise the charging manager will not be able to report a sessionAborted() to the application (the application should invoke setCallback() if it wishes to ensure this). Returns chargingSession: Defines the session.

Parameters appChargingSession : in IpAppChargingSessionRef Callback interface for the session in the application.

sessionDescription : in TpString Descriptive text for informational purposes.

...