Oracle Application Server Wireless Java API Reference
B10400-01

oracle.wireless.billing
Class ServiceDetailRecord

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

public class ServiceDetailRecord
extends java.lang.Object

The ServiceDetailRecord is used by Oracle 9iASW to provide the billing system the information regarding a billable service accessed by a user service access.


Field Summary
static java.lang.String TYPE_CANCEL_SERVICE
           
static java.lang.String TYPE_POST_SERVICE
           
static java.lang.String TYPE_PRE_SERVICE
           

 

Method Summary
 java.sql.Timestamp getAccessTime()
          Returns the time when the service was accessed
 java.lang.String getBillingReferenceId()
          returns the external billing reference id The billing driver sets this to maintain transaction state
 java.lang.String getComponentName()
          Returns the component Name
 java.util.Map getExtendedData()
          Returns the component specific extended data attributes if any
 java.lang.String getId()
          returns the internal billing reference id
 java.lang.String getResultCode()
          returns the result code from the billing system.
 java.lang.String getServiceName()
          Returns the service information
 BillingTransaction getTransaction()
           
 java.lang.String getTransactionId()
          returns the transaction id if the SDR is part of a transaction
 java.lang.String getType()
          returns the SDR type PRE_SERVICE or POST_SERVICE
 java.lang.String getUserName()
          Returns the User information
 void setBillingReferenceId(java.lang.String _billingReferenceId)
          sets the external billing reference id The billing driver sets this to maintain transaction state
 void setExtendedData(java.lang.String name, java.lang.String value)
          Stores the component specific extended data attributes in an in-memory map
 void setResultCode(java.lang.String resultCode)
          Sets the result code from the billing system.
 void setTransaction(BillingTransaction transaction)
           
 void setTransactionId(java.lang.String transactionId)
          sets the transaction id if the SDR is part of a transaction.
 void setType(java.lang.String type)
          sets the SDR type PRE_SERVICE or POST_SERVICE.

 

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

 

Field Detail

TYPE_PRE_SERVICE

public static final java.lang.String TYPE_PRE_SERVICE
See Also:
Constant Field Values

TYPE_POST_SERVICE

public static final java.lang.String TYPE_POST_SERVICE
See Also:
Constant Field Values

TYPE_CANCEL_SERVICE

public static final java.lang.String TYPE_CANCEL_SERVICE
See Also:
Constant Field Values
Method Detail

getUserName

public java.lang.String getUserName()
Returns the User information
Returns:
String User name or phonenumber of user who accessed the service

getAccessTime

public java.sql.Timestamp getAccessTime()
Returns the time when the service was accessed
Returns:
Timestamp time when the service was accessed

getId

public java.lang.String getId()
returns the internal billing reference id
Returns:
String the internal billing reference id

getBillingReferenceId

public java.lang.String getBillingReferenceId()
returns the external billing reference id The billing driver sets this to maintain transaction state
Returns:
String the external billing reference id

getTransactionId

public java.lang.String getTransactionId()
returns the transaction id if the SDR is part of a transaction
Returns:
returns the transaction id if set else null

getTransaction

public BillingTransaction getTransaction()

getResultCode

public java.lang.String getResultCode()
returns the result code from the billing system. Possible values are SUCCEEDED, SUCCEEDED_WITH_WARNING, FAILED
Returns:
returns the result code

getType

public java.lang.String getType()
returns the SDR type PRE_SERVICE or POST_SERVICE
Returns:
the SDR type PRE_SERVICE or POST_SERVICE

setBillingReferenceId

public void setBillingReferenceId(java.lang.String _billingReferenceId)
sets the external billing reference id The billing driver sets this to maintain transaction state
Parameters:
_billingReferenceId - the external billing reference id

getServiceName

public java.lang.String getServiceName()
Returns the service information
Returns:
Service the service information

getExtendedData

public java.util.Map getExtendedData()
Returns the component specific extended data attributes if any
Returns:
Map map of component specific extended data

setExtendedData

public void setExtendedData(java.lang.String name,
                            java.lang.String value)
Stores the component specific extended data attributes in an in-memory map
Parameters:
name - The attribute name
value - The attribute value

getComponentName

public java.lang.String getComponentName()
Returns the component Name
Returns:
String the component Name

setTransactionId

public void setTransactionId(java.lang.String transactionId)
sets the transaction id if the SDR is part of a transaction. The value is set by the billing controller
Parameters:
transactionId - The transaction id

setTransaction

public void setTransaction(BillingTransaction transaction)

setResultCode

public void setResultCode(java.lang.String resultCode)
Sets the result code from the billing system. The value is set by the billing controller
Parameters:
resultCode - the result code. Possible values are SUCCEEDED, SUCCEEDED_WITH_WARNING, FAILED

setType

public void setType(java.lang.String type)
sets the SDR type PRE_SERVICE or POST_SERVICE. The value is set by the controller
Parameters:
type - the SDR type PRE_SERVICE or POST_SERVICE

Oracle Application Server Wireless Java API Reference
B10400-01

Copyright © 2003 Oracle Corporation. All Rights Reserved.