com.highdeal.pnr.hci
Class ModifyChargeComponentOp

java.lang.Object
  extended by com.highdeal.hci.MessageOperationAdapter
      extended by com.highdeal.pnr.hci.VersioningModifyOp
          extended by com.highdeal.pnr.hci.ModifyChargeComponentOp
All Implemented Interfaces:
IXMLMarshallable, MessageOperation, XMLMarshallable

public class ModifyChargeComponentOp
extends com.highdeal.pnr.hci.VersioningModifyOp

This operation allows to modify an existing charge component.

This operation may conflict with the pre-rating feature. This may lead to inconsistency if it concerns a charge component 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 price plan version in the past (means before the date of the last pre-rating).

Operation Result

ModifyChargeComponentResult

Operation Failure Exceptions

XML API for HCI

The XML APIs specify the following XSD fragment:

XSD Fragment

<xs:element name="modifyChargeComponent">
   <xs:complexType>
     <xs:sequence>
       <xs:element ref="modificationHeader" minOccurs="0" maxOccurs="1"/>
       <xs:element ref="chargeComponent" 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

Field Summary
static java.lang.String OPERATION_NAME
           
 
Constructor Summary
ModifyChargeComponentOp()
          Builds an empty operation.
 
Method Summary
 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.
 ChargeComponentModel getChargeComponent()
           
 java.lang.String getName()
          Gets the name of the operation.
 void marshalChildren(XMLOutputter output)
          Gives an XML representation of the child objects of an object.
 void setChargeComponent(ChargeComponentModel chargeComp)
           
 
Methods inherited from class com.highdeal.pnr.hci.VersioningModifyOp
addCharacterData, 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

OPERATION_NAME

public static final java.lang.String OPERATION_NAME
See Also:
Constant Field Values
Constructor Detail

ModifyChargeComponentOp

public ModifyChargeComponentOp()
Builds an empty operation.

Method Detail

getName

public java.lang.String getName()
Gets the name of the operation.

Returns:
"modifyChargeComponent"

getChargeComponent

public ChargeComponentModel getChargeComponent()

setChargeComponent

public void setChargeComponent(ChargeComponentModel chargeComp)

addChild

public void addChild(java.lang.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

Document Published: October 2015 (SAP CC 4.0 SP10 and Later)