Package com.highdeal.pnr.hci
Class UnlockSubscriptionOp
java.lang.Object
com.highdeal.pnr.hci.UnlockSubscriptionOp
- All Implemented Interfaces:
MessageOperation,XMLMarshallable
This operation allows to unlock a
subscription in customer master data of a service provider.
A subscription is locked during bulk rerating operations. It must not be manually unlocked, except if for any reason rerating has ended without unlocking this subscription. Targeted subscription is then left into an inconsistent state, with bad counters values (old values) and no more transactions between the rerating from date and now.
Operation Result
UnlockSubscriptionResult XML API for HCI
The XML APIs specify the following XSD fragment:
XSD Fragment
<xs:element name="unlockSubscription">
<xs:complexType>
<xs:attribute name="subscriptionCode" type="xs:string"/>
<xs:attribute name="reratingOpCode" type="xs:string"/>
</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 | No | No | No | No | Yes |
Audit Domain
This operation is audited by the system as part of the audit domain: ADMINISTRATION. Consult the IT administrator.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringThe XML tag name of this service operation request: "unlockSubscription" -
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()Gets the XML name of this service operation.Gets the rerating operation code of the subscriptions that must be unlocked.Gets the subscription code of the subscription that must be unlocked.voidmarshal(XMLOutputter output) Gives an XML representation of this object, including its children.voidrelease()Release operationvoidsetAttributes(XMLAttributes atts) Sets the attributes of the XML representation of the element being processed.voidsetReratingOpCode(String reratingOpCode) Sets the rerating operation code originally generated by Transactive server of the subscriptions that must be unlocked.voidsetSubscriptionCode(String subscriptionCode) Sets the subscription code of the subscription that must be unlocked.
-
Field Details
-
OPERATION_NAME
The XML tag name of this service operation request: "unlockSubscription"- See Also:
-
-
Constructor Details
-
UnlockSubscriptionOp
public UnlockSubscriptionOp()Creates an empty operation.
-
-
Method Details
-
release
public void release()Release operation -
getName
Gets the XML name of this service operation.- Specified by:
getNamein interfaceMessageOperation- Returns:
- "unlockSubscription"
-
getSubscriptionCode
Gets the subscription code of the subscription that must be unlocked.- Returns:
- The subscription code
-
setSubscriptionCode
Sets the subscription code of the subscription that must be unlocked.- Parameters:
subscriptionCode- The subscription code
-
setReratingOpCode
Sets the rerating operation code originally generated by Transactive server of the subscriptions that must be unlocked.- Parameters:
reratingOpCode- The rerating operation code
-
getReratingOpCode
Gets the rerating operation code of the subscriptions that must be unlocked.- Returns:
- The rerating operation code
-
setAttributes
Description copied from interface:XMLMarshallableSets the attributes of the XML representation of the element being processed.- Specified by:
setAttributesin interfaceXMLMarshallable- Parameters:
atts- TheXML attributesof the current element
-
addCharacterData
Description copied from interface:XMLMarshallableAdds character data to the content element.- Specified by:
addCharacterDatain interfaceXMLMarshallable- 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- Parameters:
tagName- The name of tag for the childchild- The child to be added
-
marshal
Description copied from interface:XMLMarshallableGives an XML representation of this object, including its children.- Specified by:
marshalin interfaceXMLMarshallable- Parameters:
output- TheXML outputto marshal the object into
-