|
SAP Convergent Charging
Java and XML APIs (Core) |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.highdeal.pnr.hci.StopRateResult
public class StopRateResult
The result of a StopRateOp operation.
When the system parameter TRANSACTIONS_TO_CANCEL_IN_RESULT_ENABLED is set to "false",
the list of transacSetToCancel is always empty and never returned.
Also, the attribute amountToCancel is never present.
When set to "false", this parameter completely skip the production of transactions to cancel.
The project team determines the appropriate value of this parameter when implementing the
session-based charging services. If the value of this parameter is changed during the production
operation phase, the impact is the following:
The XML APIs specify the following XSD fragment:
XSD Fragment
<xs:element name="stopRateResult">
<xs:complexType>
<xs:sequence>
<xs:element name="transacSetToCleanup" type="TransactionSetType" minOccurs="0" maxOccurs="unbounded"/>
<xs:element name="transacSetToConfirm" type="TransactionSetType" minOccurs="0" maxOccurs="unbounded"/>
<xs:element name="transacSetToCancel" type="TransactionSetType" minOccurs="0" maxOccurs="unbounded"/>
</xs:sequence>
<xs:attribute name="amountToConfirm" type="xs:string"/>
<xs:attribute name="amountToCancel" type="xs:string"/>
<xs:attribute name="accumulatedAmount" type="xs:string"/>
</xs:complexType>
</xs:element>
| Constructor Summary | |
|---|---|
StopRateResult()
Constructs an empty stop session result. |
|
| Method Summary | |
|---|---|
void |
addCharacterData(java.lang.String cData)
Adds character data to the content element. |
void |
addChild(java.lang.String tagName,
XMLMarshallable child)
Adds a child to the object, the child representing
the marshallable object which must be added to the element. |
Money |
getAccumulatedAmount()
Gets accumulated amount of the session. |
Money |
getAmountToCancel()
Gets the amount to cancel =>CAN RETURN NULL |
Money |
getAmountToConfirm()
Gets the amount to confirm. |
java.lang.String |
getName()
|
java.lang.String |
getOperandReference()
Gets the code or the reference (if no code exists) that identifies the operand of the operation request; If the operation is not auditable, the operand reference is null. |
java.util.List<TransactionSet> |
getTransacSetsToCancel()
Gets the list of transactions sets to cancel. |
java.util.List<TransactionSet> |
getTransacSetsToCleanup()
Gets the list of transactions set to cleanup. |
java.util.List<TransactionSet> |
getTransacSetsToConfirm()
Gets the list of transactions sets to confirm. |
void |
marshal(XMLOutputter output)
Gives an XML representation of this object, including its children. |
void |
setAccumulatedAmount(Money amount)
Sets accumulated amount of the session. |
void |
setAmountToCancel(Money amount)
Sets the amount to cancel. |
void |
setAmountToConfirm(Money amount)
Sets the amount to confirm. |
void |
setAttributes(XMLAttributes atts)
Sets the attributes of the XML representation of the element being processed. |
void |
setOperandReference(java.lang.String operandReference)
Sets the reference of the operand. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public StopRateResult()
| Method Detail |
|---|
public java.lang.String getOperandReference()
OperationResultnull.
getOperandReference in interface OperationResultpublic void setOperandReference(java.lang.String operandReference)
operandReference - the reference of the operand.public java.lang.String getName()
public Money getAccumulatedAmount()
public void setAccumulatedAmount(Money amount)
amount - the accumulated amount.public Money getAmountToConfirm()
public void setAmountToConfirm(Money amount)
amount - the amount to confirm.public Money getAmountToCancel()
public void setAmountToCancel(Money amount)
amount - the amount to cancel.public java.util.List<TransactionSet> getTransacSetsToCleanup()
public java.util.List<TransactionSet> getTransacSetsToConfirm()
public java.util.List<TransactionSet> getTransacSetsToCancel()
public void setAttributes(XMLAttributes atts)
XMLMarshallable
setAttributes in interface XMLMarshallableatts - The XML attributes of the current element
public void addChild(java.lang.String tagName,
XMLMarshallable child)
XMLMarshallablechild representing
the marshallable object which must be added to the element.
addChild in interface XMLMarshallabletagName - The name of tag for the childchild - The child to be addedpublic void addCharacterData(java.lang.String cData)
XMLMarshallable
addCharacterData in interface XMLMarshallablecData - The character data to be addedpublic void marshal(XMLOutputter output)
XMLMarshallable
marshal in interface XMLMarshallableoutput - The XML output to marshal the object into
|
Document Published: October 2015 (SAP CC 4.0 SP10 and Later) | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||