org.csapi.jr.se.cc
Class CallChargePlan

java.lang.Object
  |
  +--org.csapi.jr.se.cc.CallChargePlan
All Implemented Interfaces:
java.io.Serializable

public final class CallChargePlan
extends java.lang.Object
implements java.io.Serializable

Defines the Sequence of Data Elements that specify the charge plan for the call.

See Also:
Serialized Form

Constructor Summary
CallChargePlan()
          Creates a new CallChargePlan instance.
CallChargePlan(org.csapi.jr.se.cc.CallChargeOrderCategory _chargeOrderType, byte[] _transparentCharge, int _chargePlan, byte[] _additionalInfo, org.csapi.jr.se.cc.CallPartyToChargeType _partyToCharge, org.csapi.jr.se.cc.CallPartyToChargeAdditionalInfo _partyToChargeAdditionalInfo)
          Creates a new CallChargePlan instance.
 
Method Summary
 boolean equals(java.lang.Object o)
          Indicates whether some other object is 'equal to' this one.
 byte[] getAdditionalInfo()
          This method returns a additionalInfo.
 org.csapi.jr.se.cc.CallChargeOrderCategory getChargeOrderType()
          This method returns a chargeOrderType.
 int getChargePlan()
          This method returns a chargePlan.
 org.csapi.jr.se.cc.CallPartyToChargeType getPartyToCharge()
          This method returns a partyToCharge.
 org.csapi.jr.se.cc.CallPartyToChargeAdditionalInfo getPartyToChargeAdditionalInfo()
          This method returns a partyToChargeAdditionalInfo.
 byte[] getTransparentCharge()
          This method returns a transparentCharge.
 int hashCode()
          Returns a hashcode value for the object.
 void setAdditionalInfo(byte[] additionalInfo)
          This method sets a additionalInfo.
 void setChargeOrderType(org.csapi.jr.se.cc.CallChargeOrderCategory chargeOrderType)
          This method sets a chargeOrderType.
 void setChargePlan(int chargePlan)
          This method sets a chargePlan.
 void setPartyToCharge(org.csapi.jr.se.cc.CallPartyToChargeType partyToCharge)
          This method sets a partyToCharge.
 void setPartyToChargeAdditionalInfo(org.csapi.jr.se.cc.CallPartyToChargeAdditionalInfo partyToChargeAdditionalInfo)
          This method sets a partyToChargeAdditionalInfo.
 void setTransparentCharge(byte[] transparentCharge)
          This method sets a transparentCharge.
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CallChargePlan

public CallChargePlan()
Creates a new CallChargePlan instance.


CallChargePlan

public CallChargePlan(org.csapi.jr.se.cc.CallChargeOrderCategory _chargeOrderType,
                      byte[] _transparentCharge,
                      int _chargePlan,
                      byte[] _additionalInfo,
                      org.csapi.jr.se.cc.CallPartyToChargeType _partyToCharge,
                      org.csapi.jr.se.cc.CallPartyToChargeAdditionalInfo _partyToChargeAdditionalInfo)
Creates a new CallChargePlan instance.

Parameters:
_chargeOrderType - Charge order
_transparentCharge - Operator specific charge plan specification, for example charging table name / charging table entry. The associated charge plan data will be send transparently to the charging records. Only applicable when transparent charging is selected.
_chargePlan - Pre-defined charge plan. Example of the charge plan set from which the application can choose could be : (0 = normal user, 1 = silver card user, 2 = gold card user). Only applicable when predefined charge plan is selected.
_additionalInfo - Descriptive string which is sent to the billing system without prior evaluation. Could be included in the ticket.
_partyToCharge - Identifies the entity or party to be charged for the call or call leg.
_partyToChargeAdditionalInfo - Contains additional information regarding the charged party.
Method Detail

getChargeOrderType

public org.csapi.jr.se.cc.CallChargeOrderCategory getChargeOrderType()
This method returns a chargeOrderType.

Returns:
a org.csapi.jr.se.cc.CallChargeOrderCategory value

getTransparentCharge

public byte[] getTransparentCharge()
This method returns a transparentCharge.

Returns:
a byte[] value

getChargePlan

public int getChargePlan()
This method returns a chargePlan.

Returns:
a int value

getAdditionalInfo

public byte[] getAdditionalInfo()
This method returns a additionalInfo.

Returns:
a byte[] value

getPartyToCharge

public org.csapi.jr.se.cc.CallPartyToChargeType getPartyToCharge()
This method returns a partyToCharge.

Returns:
a org.csapi.jr.se.cc.CallPartyToChargeType value

getPartyToChargeAdditionalInfo

public org.csapi.jr.se.cc.CallPartyToChargeAdditionalInfo getPartyToChargeAdditionalInfo()
This method returns a partyToChargeAdditionalInfo.

Returns:
a org.csapi.jr.se.cc.CallPartyToChargeAdditionalInfo value

setChargeOrderType

public void setChargeOrderType(org.csapi.jr.se.cc.CallChargeOrderCategory chargeOrderType)
This method sets a chargeOrderType.


setTransparentCharge

public void setTransparentCharge(byte[] transparentCharge)
This method sets a transparentCharge.


setChargePlan

public void setChargePlan(int chargePlan)
This method sets a chargePlan.


setAdditionalInfo

public void setAdditionalInfo(byte[] additionalInfo)
This method sets a additionalInfo.


setPartyToCharge

public void setPartyToCharge(org.csapi.jr.se.cc.CallPartyToChargeType partyToCharge)
This method sets a partyToCharge.


setPartyToChargeAdditionalInfo

public void setPartyToChargeAdditionalInfo(org.csapi.jr.se.cc.CallPartyToChargeAdditionalInfo partyToChargeAdditionalInfo)
This method sets a partyToChargeAdditionalInfo.


equals

public boolean equals(java.lang.Object o)
Indicates whether some other object is 'equal to' this one.

Overrides:
equals in class java.lang.Object

hashCode

public int hashCode()
Returns a hashcode value for the object.

Overrides:
hashCode in class java.lang.Object