|
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.hci.MessageOperationAdapter
com.highdeal.pnr.hci.VersioningModifyOp
com.highdeal.pnr.hci.ModifyPricingMacroOp
public class ModifyPricingMacroOp
This operation class represents the modification of a pricing macro. The description and the owner specified by the modification model are copied directly in the original pricing macro and the root rate component is added to the pricing macro root chronology.
This operation may conflict with the pre-rating feature. This may lead to inconsistency if it concerns a pricing macro used by at least one subscription containing unresolved pre-ratings. In that case, post-ratings may be wrong. To prevent from that, the user has to be sure that his/her modification is safe regarding the pre-rating. The modification that is not safe is adding a new macro version in the past (means before the date of the last pre-rating).
ModifyPricingMacroResult The XML APIs specify the following XSD fragment:
XSD Fragment
<xs:element name="modifyPricingMacro">
<xs:complexType>
<xs:sequence>
<xs:element ref="modificationHeader" minOccurs="0" maxOccurs="1"/>
<xs:element ref="pricingMacro" minOccurs="1" maxOccurs="1"/>
</xs:sequence>
<xs:attribute name="modificationDate" type="xs:dateTime" use="optional"/>
</xs:complexType>
</xs:element>
You can send this operation request in HCI messages to the following final target types of instances in the connected SAP CC system:
| Edition | Final Target Instances | |||||
| rater | updater | guider | bulkLoader | taxer | dispatcher | |
| charge | No | Yes | No | No | No | No |
| Field Summary | |
|---|---|
static java.lang.String |
OPERATION_NAME
|
| Constructor Summary | |
|---|---|
ModifyPricingMacroOp()
Builds an empty operation. |
|
| 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. |
java.lang.String |
getName()
Returns the name of the operation, that is "modifyPricingMacro". |
PricingMacroModel |
getPricingMacro()
Returns the pricing macro to apply. |
void |
marshalChildren(XMLOutputter output)
Gives an XML representation of the child objects of an object. |
void |
setPricingMacro(PricingMacroModel m)
Sets the pricing macro to apply. |
| Methods inherited from class com.highdeal.pnr.hci.VersioningModifyOp |
|---|
getHeader, getModificationDate, getModificationDateAttributeName, getModificationTimeFrame, marshalAttributes, setAttributes, setHeader, setModificationDate |
| Methods inherited from class com.highdeal.hci.MessageOperationAdapter |
|---|
marshal |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final java.lang.String OPERATION_NAME
| Constructor Detail |
|---|
public ModifyPricingMacroOp()
| Method Detail |
|---|
public java.lang.String getName()
public PricingMacroModel getPricingMacro()
public void setPricingMacro(PricingMacroModel m)
m - the pricing macro to apply.public void addCharacterData(java.lang.String cData)
XMLMarshallable
addCharacterData in interface XMLMarshallableaddCharacterData in class com.highdeal.pnr.hci.VersioningModifyOpcData - The character data to be added
public void addChild(java.lang.String tagName,
XMLMarshallable child)
XMLMarshallablechild representing
the marshallable object which must be added to the element.
addChild in interface XMLMarshallableaddChild in class com.highdeal.pnr.hci.VersioningModifyOptagName - The name of tag for the childchild - The child to be addedpublic void marshalChildren(XMLOutputter output)
IXMLMarshallable
marshalChildren in interface IXMLMarshallablemarshalChildren in class com.highdeal.pnr.hci.VersioningModifyOpoutput - The XML output to marshal the child objects 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 | ||||||||