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.
Offer condition 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.
Charge condition modifications that are not safe are:
  • 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:

EditionFinal Target Instances
raterupdaterguiderbulkLoadertaxerdispatcher
chargeNoYesNoNoNoNo

Audit Domain

This operation is audited by the system as part of the audit domain: CATALOG. Consult the IT administrator.

  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final String
    The XML element name of the operation.
  • Constructor Summary

    Constructors
    Constructor
    Description
    Builds an empty operation.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    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.
    Returns the name of the operation, that is "modifyOffer".
    Gets the new offer definition.
    void
    Gives an XML representation of the child objects of an object.
    void
    Sets the new offer definition.

    Methods inherited from class com.highdeal.pnr.hci.VersioningModifyOp

    getClass, getHeader, getModificationDate, getModificationTimeFrame, marshalAttributes, setAttributes, setHeader, setModificationDate

    Methods inherited from class com.highdeal.hci.MessageOperationAdapter

    marshal

    Methods inherited from class java.lang.Object

    equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

  • Constructor Details

    • ModifyOfferOp

      public ModifyOfferOp()
      Builds an empty operation.
  • Method Details

    • getName

      public String getName()
      Returns the name of the operation, that is "modifyOffer".
      Returns:
      "modifyOffer"
    • getOffer

      public OfferModel getOffer()
      Gets the new offer definition.
      Returns:
      the new offer definition.
    • setOffer

      public void setOffer(OfferModel o)
      Sets the new offer definition.
      Parameters:
      o - The offer model.
    • addCharacterData

      public void addCharacterData(String cData)
      Description copied from interface: XMLMarshallable
      Adds character data to the content element.
      Specified by:
      addCharacterData in interface XMLMarshallable
      Overrides:
      addCharacterData in class com.highdeal.pnr.hci.VersioningModifyOp
      Parameters:
      cData - The character data to be added
    • addChild

      public void addChild(String tagName, XMLMarshallable child)
      Description copied from interface: XMLMarshallable
      Adds a child to the object, the child representing the marshallable object which must be added to the element.
      Specified by:
      addChild in interface XMLMarshallable
      Overrides:
      addChild in class com.highdeal.pnr.hci.VersioningModifyOp
      Parameters:
      tagName - The name of tag for the child
      child - The child to be added
    • marshalChildren

      public void marshalChildren(XMLOutputter output)
      Description copied from interface: IXMLMarshallable
      Gives an XML representation of the child objects of an object.
      Specified by:
      marshalChildren in interface IXMLMarshallable
      Overrides:
      marshalChildren in class com.highdeal.pnr.hci.VersioningModifyOp
      Parameters:
      output - The XML output to marshal the child objects into