public class StopRateResult extends java.lang.Object implements OperationResult
StopRateOp operation.
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 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 and Description |
|---|
StopRateResult()
Constructs an empty stop session result.
|
| Modifier and Type | Method and Description |
|---|---|
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.util.List<ChargingResult> |
getChargingResults()
Gets the list of charging results included in the session operation result
|
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 |
setChargingResults(java.util.List<ChargingResult> chargingResults)
Sets the list of charging results included in the session operation result
|
void |
setOperandReference(java.lang.String operandReference)
Sets the reference of the operand.
|
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 setChargingResults(java.util.List<ChargingResult> chargingResults)
chargingResults - the list of charging resultspublic java.util.List<ChargingResult> getChargingResults()
charging resultspublic void setAttributes(XMLAttributes atts)
XMLMarshallablesetAttributes in interface XMLMarshallableatts - The XML attributes of the current elementpublic 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)
XMLMarshallableaddCharacterData in interface XMLMarshallablecData - The character data to be addedpublic void marshal(XMLOutputter output)
XMLMarshallablemarshal in interface XMLMarshallableoutput - The XML output to marshal the object into