Oracle Application Server Wireless Java API Reference
B10400-01

oracle.wireless.billing
Class BillingTransaction

java.lang.Object
  |
  +--oracle.wireless.billing.BillingTransaction

public class BillingTransaction
extends java.lang.Object

Billing Transaction encapsulates the SDRs associated with a billing transaction A billing transaction is created using the Billing Transaction manager.


Constructor Summary
BillingTransaction(java.lang.String id)
          Creates a transaction object with the id set by the caller

 

Method Summary
 void addSdr(ServiceDetailRecord sdr)
          Adds the passed Service Detail Record to the transaction
 java.lang.String getId()
          Returns the transaction id
 ServiceDetailRecord[] getServiceDetailRecords()
          returns the Service Detail Recordss for the current transaction

 

Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

 

Constructor Detail

BillingTransaction

public BillingTransaction(java.lang.String id)
Creates a transaction object with the id set by the caller
Parameters:
id - the transaction id set by the caller
Method Detail

getId

public java.lang.String getId()
Returns the transaction id
Returns:
String containing the transaction id

getServiceDetailRecords

public ServiceDetailRecord[] getServiceDetailRecords()
                                              throws PanamaException
returns the Service Detail Recordss for the current transaction
Returns:
Array of Service Detail records
Throws:
PanamaException - when lookup fails

addSdr

public void addSdr(ServiceDetailRecord sdr)
            throws PanamaException
Adds the passed Service Detail Record to the transaction
Parameters:
sdr - The service detail record to be added to the transaction
Throws:
PanamaException - if addition operation fails

Oracle Application Server Wireless Java API Reference
B10400-01

Copyright © 2003 Oracle Corporation. All Rights Reserved.