Package com.highdeal.pnr.hci
Class ModifyOfferOp
java.lang.Object
com.highdeal.hci.MessageOperationAdapter
com.highdeal.pnr.hci.VersioningModifyOp
com.highdeal.pnr.hci.ModifyOfferOp
- All Implemented Interfaces:
IXMLMarshallable,MessageOperation,XMLMapping,XMLMarshallable
public class ModifyOfferOp
extends com.highdeal.pnr.hci.VersioningModifyOp
This operation allows to modify an existing offer.
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:
- modification of a parameter in the past (means before the date of the last pre-rating),
- modification of a translation table instance in the past,
- modification of a tier table instance in the past,
- modification of charge dependencies may change the rating process.
- modification of a parameter in the past (means before the date of the last pre-rating),
- modification of a translation table instance in the past.
- modification of a tier table instance in the past.
- removal of a counter,
- modification of a parameter in the past (means before the date of the last pre-rating),
- modification of a translation table instance in the past,
- modification of a tier table instance in the past,
- set the expiration date in the past,
- modification of the debtor or the creditor,
- modification of relationship type, operation type or adjustment mode.
Operation Result
ModifyOfferResult Operation Failure Exceptions
XML API for HCI
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>
Operation Availability
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 |
Audit Domain
This operation is audited by the system as part of the audit domain: CATALOG. Consult the IT administrator.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddCharacterData(String cData) Adds character data to the content element.voidaddChild(String tagName, XMLMarshallable child) Adds a child to the object, thechildrepresenting the marshallable object which must be added to the element.getName()Returns the name of the operation, that is "modifyOffer".getOffer()Gets the new offer definition.voidmarshalChildren(XMLOutputter output) Gives an XML representation of the child objects of an object.voidSets the new offer definition.Methods inherited from class com.highdeal.pnr.hci.VersioningModifyOp
getClass, getHeader, getModificationDate, getModificationTimeFrame, marshalAttributes, setAttributes, setHeader, setModificationDateMethods inherited from class com.highdeal.hci.MessageOperationAdapter
marshal
-
Field Details
-
OPERATION_NAME
The XML element name of the operation.- See Also:
-
-
Constructor Details
-
ModifyOfferOp
public ModifyOfferOp()Builds an empty operation.
-
-
Method Details
-
getName
Returns the name of the operation, that is "modifyOffer".- Returns:
- "modifyOffer"
-
getOffer
Gets the new offer definition.- Returns:
- the new offer definition.
-
setOffer
Sets the new offer definition.- Parameters:
o- The offer model.
-
addCharacterData
Description copied from interface:XMLMarshallableAdds character data to the content element.- Specified by:
addCharacterDatain interfaceXMLMarshallable- Overrides:
addCharacterDatain classcom.highdeal.pnr.hci.VersioningModifyOp- Parameters:
cData- The character data to be added
-
addChild
Description copied from interface:XMLMarshallableAdds a child to the object, thechildrepresenting the marshallable object which must be added to the element.- Specified by:
addChildin interfaceXMLMarshallable- Overrides:
addChildin classcom.highdeal.pnr.hci.VersioningModifyOp- Parameters:
tagName- The name of tag for the childchild- The child to be added
-
marshalChildren
Description copied from interface:IXMLMarshallableGives an XML representation of the child objects of an object.- Specified by:
marshalChildrenin interfaceIXMLMarshallable- Overrides:
marshalChildrenin classcom.highdeal.pnr.hci.VersioningModifyOp- Parameters:
output- TheXML outputto marshal the child objects into
-