Package com.highdeal.pnr.hci
Class CreateSubscriberAccountOp
java.lang.Object
com.highdeal.pnr.hci.CreateSubscriberAccountOp
- All Implemented Interfaces:
MessageOperation,XMLMarshallable
This operation allows you to create a if the subscriber account to be created is not valid.
if the subscriber account to be created is not compatible with the edition
of the data updating instance.
subscriber account in customer master data
to represent an end customer in the SAP CC system;
Relevant subscriptions and provider contracts (charging contracts) can be created and assigned to this
subscriber account.
Implementation in Your Client Application
The subscriber account to be created is set invoking
whether the constructor CreateSubscriberAccountOp(SubscriberAccountModel) or
the accessor setSubscriberAccount(SubscriberAccountModel).
Error Handling
When processed by the SAP CC system, this operation can throw the following exceptions:
InvalidSubscriberAccountExceptionDisabledFeatureException- See Also:
Operation Result
CreateSubscriberAccountResult XML API for HCI
The XML APIs specify the following XSD fragment:
XSD Fragment
<xs:element name="createSubscriberAccount">
<xs:complexType>
<xs:sequence>
<xs:element ref="subscriberAccount" minOccurs="1" maxOccurs="1"/>
</xs:sequence>
</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: CUSTOMER. Consult the IT administrator.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringThe XML tag name of this service operation: "createSubscriberAccount" -
Constructor Summary
ConstructorsConstructorDescriptionBuilds an empty create subscriber account operation.CreateSubscriberAccountOp(SubscriberAccountModel subscriberAccount) Builds an create subscriber account operation. -
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 name of the create subscriber account operation.Gets the subscriber account of the create subscriber account operation.voidmarshal(XMLOutputter output) Gives an XML representation of this object, including its children.voidsetAttributes(XMLAttributes atts) Sets the attributes of the XML representation of the element being processed.voidsetSubscriberAccount(SubscriberAccountModel subscriberAccount) Sets the subscriber account of the create subscriber account operation.
-
Field Details
-
OPERATION_NAME
The XML tag name of this service operation: "createSubscriberAccount"- See Also:
-
-
Constructor Details
-
CreateSubscriberAccountOp
public CreateSubscriberAccountOp()Builds an empty create subscriber account operation. -
CreateSubscriberAccountOp
Builds an create subscriber account operation.- Parameters:
subscriberAccount- ThesubscriberAccountModelto be created
-
-
Method Details
-
getSubscriberAccount
Gets the subscriber account of the create subscriber account operation.- Returns:
- The
subscriberAccountModelof the create subscriber account operation
-
setSubscriberAccount
Sets the subscriber account of the create subscriber account operation.- Parameters:
subscriberAccount- ThesubscriberAccountModelof the create subscriber account operation
-
getName
Gets the name of the create subscriber account operation.- Specified by:
getNamein interfaceMessageOperation- Returns:
- The name of the create subscriber account operation
-
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
-
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
-
addCharacterData
Description copied from interface:XMLMarshallableAdds character data to the content element.- Specified by:
addCharacterDatain interfaceXMLMarshallable- Parameters:
cData- The character data 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
-