public class ModifyOfferOp
extends com.highdeal.pnr.hci.VersioningModifyOp
This operation may conflict with the pre-rating feature. This may lead to inconsistency if it concerns an offer that has 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. Offer modifications that are not safe are:
ModifyOfferResult The XML APIs specify the following XSD fragment:
XSD Fragment
<xs:element name="modifyOffer">
<xs:complexType>
<xs:sequence>
<xs:element ref="modificationHeader" minOccurs="0" maxOccurs="1"/>
<xs:element ref="offer" minOccurs="1" maxOccurs="1"/>
</xs:sequence>
<xs:attribute name="modificationDate" type="xs:dateTime"/>
</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 |
This operation is audited as part of the audit domain CATALOG
| Modifier and Type | Field and Description |
|---|---|
static String |
OPERATION_NAME
The XML element name of the operation.
|
| Constructor and Description |
|---|
ModifyOfferOp()
Builds an empty operation.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addCharacterData(String cData)
Adds character data to the content element.
|
void |
addChild(String tagName,
XMLMarshallable child)
Adds a child to the object, the
child representing
the marshallable object which must be added to the element. |
String |
getName()
Returns the name of the operation, that is "modifyOffer".
|
OfferModel |
getOffer()
Gets the new offer definition.
|
void |
marshalChildren(XMLOutputter output)
Gives an XML representation of the child objects of an object.
|
void |
setOffer(OfferModel o)
Sets the new offer definition.
|
getHeader, getModificationDate, getModificationTimeFrame, marshalAttributes, setAttributes, setHeader, setModificationDatemarshalpublic static final String OPERATION_NAME
public String getName()
public OfferModel getOffer()
public void setOffer(OfferModel o)
o - The offer model.public void addCharacterData(String cData)
XMLMarshallableaddCharacterData in interface XMLMarshallableaddCharacterData in class com.highdeal.pnr.hci.VersioningModifyOpcData - The character data to be addedpublic void addChild(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)
IXMLMarshallablemarshalChildren in interface IXMLMarshallablemarshalChildren in class com.highdeal.pnr.hci.VersioningModifyOpoutput - The XML output to marshal the child objects into