Oracle Application Server Wireless Java API Reference
B14043-01


oracle.wireless.billing
Class BillingTransaction

java.lang.Object
  extended byoracle.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

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

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

Oracle Application Server Wireless Java API Reference
B14043-01


Copyright © 2004 Oracle Corporation. All Rights Reserved.