SAP CC 1.0
API 4.2 (Core)

com.highdeal.pnr.hci
Class ModifyChargeComponentOp

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

public class ModifyChargeComponentOp
extends java.lang.Object
implements MessageOperation

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).

See Also :
ModifyChargeComponentResult
Operation Failure Exception :
InvalidModificationException
ServerFailureException
Operation available with roles :
"marketing" "admin"


XML Schema Fragment
<xs:element name="modifyChargeComponent">
   <xs:complexType>
     <xs:sequence>
       <xs:element ref="chargeComponent" minOccurs="1" maxOccurs="1"/>
     </xs:sequence>
     <xs:attribute name="modificationDate" type="xs:dateTime"/>
   </xs:complexType>
 </xs:element>

Operation availability :
EditionAvailable On:
RaterUpdaterBackupGuiderChargerBulkLoaderBillingAssistantEZTaxer
Ratenoyesnononononono
Chargenoyesnononononono
Billnoyesnononononono
Fullnoyesnononononono

Field Summary
static java.lang.String OPERATION_NAME
           
 
Constructor Summary
ModifyChargeComponentOp()
          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 objects, the child represents the marshallable object to be added into the content tree.
 ChargeComponentModel getChargeComponent()
           
 java.util.Date getModificationDate()
           
 java.lang.String getName()
          Gets the name of the operation.
 void marshal(XMLOutputter output)
          Gives an XML representation of this object, and of its children.
 void setAttributes(XMLAttributes atts)
          Sets the attributes of the XML representation of the tag beeing processed.
 void setChargeComponent(ChargeComponentModel chargeComp)
           
 void setModificationDate(java.util.Date date)
           
 
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.

Specified by:
getName in interface MessageOperation
Returns:
"modifyChargeComponent"

getModificationDate

public java.util.Date getModificationDate()

setModificationDate

public void setModificationDate(java.util.Date date)

getChargeComponent

public ChargeComponentModel getChargeComponent()

setChargeComponent

public void setChargeComponent(ChargeComponentModel chargeComp)

setAttributes

public void setAttributes(XMLAttributes atts)
Description copied from interface: XMLMarshallable
Sets the attributes of the XML representation of the tag beeing processed.

Specified by:
setAttributes in interface XMLMarshallable
Parameters:
atts - the XML attributes of the current tag.

addCharacterData

public void addCharacterData(java.lang.String cData)
Description copied from interface: XMLMarshallable
Adds character data to the content element.

Specified by:
addCharacterData in interface XMLMarshallable
Parameters:
cData - the character data to be added.

addChild

public void addChild(java.lang.String tagName,
                     XMLMarshallable child)
Description copied from interface: XMLMarshallable
Adds a child to the objects, the child represents the marshallable object to be added into the content tree.

Specified by:
addChild in interface XMLMarshallable
Parameters:
tagName - the name of tag for the child.
child - the child to be added.

marshal

public void marshal(XMLOutputter output)
Description copied from interface: XMLMarshallable
Gives an XML representation of this object, and of its children.

Specified by:
marshal in interface XMLMarshallable
Parameters:
output - the XML output to marshall the object into.

SAP CC 1.0
API 4.2 (Core)


API Reference - July 2009

SAP Convergent Charging 1.0 (build R4.2.1.35.0.0)
CONVERGENT CHARGING 4.2

(c) Copyright 2009 SAP AG. All rights reserved.