public class CreateSubscriberAccountOp extends java.lang.Object implements MessageOperation
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.
The subscriber account to be created is set invoking
whether the constructor CreateSubscriberAccountOp(SubscriberAccountModel) or
the accessor setSubscriberAccount(SubscriberAccountModel).
When processed by the SAP CC system, this operation can throw the following exceptions:
InvalidSubscriberAccountExceptionDisabledFeatureExceptionSubscriberAccountModel CreateSubscriberAccountResult 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>
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 |
This operation is audited by the system as part of the audit domain: CUSTOMER. Consult the IT administrator.
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
OPERATION_NAME
The XML tag name of this service operation: "createSubscriberAccount"
|
| Constructor and Description |
|---|
CreateSubscriberAccountOp()
Builds an empty create subscriber account operation.
|
CreateSubscriberAccountOp(SubscriberAccountModel subscriberAccount)
Builds an create subscriber account operation.
|
| Modifier and Type | Method and Description |
|---|---|
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 object, the
child representing
the marshallable object which must be added to the element. |
java.lang.String |
getName()
Gets the name of the create subscriber account operation.
|
SubscriberAccountModel |
getSubscriberAccount()
Gets the subscriber account of the create subscriber account operation.
|
void |
marshal(XMLOutputter output)
Gives an XML representation of this object, including its children.
|
void |
setAttributes(XMLAttributes atts)
Sets the attributes of the XML representation of the element being
processed.
|
void |
setSubscriberAccount(SubscriberAccountModel subscriberAccount)
Sets the subscriber account of the create subscriber account operation.
|
public static final java.lang.String OPERATION_NAME
public CreateSubscriberAccountOp()
public CreateSubscriberAccountOp(SubscriberAccountModel subscriberAccount)
subscriberAccount - The subscriberAccountModel to be createdpublic SubscriberAccountModel getSubscriberAccount()
subscriberAccountModel of the create subscriber account operationpublic void setSubscriberAccount(SubscriberAccountModel subscriberAccount)
subscriberAccount - The subscriberAccountModel of the create subscriber account operationpublic java.lang.String getName()
getName in interface MessageOperationpublic void setAttributes(XMLAttributes atts)
XMLMarshallablesetAttributes in interface XMLMarshallableatts - The XML attributes of the current elementpublic void addChild(java.lang.String tagName,
XMLMarshallable child)
XMLMarshallablechild representing
the marshallable object which must be added to the element.addChild in interface XMLMarshallabletagName - The name of tag for the childchild - The child to be addedpublic void addCharacterData(java.lang.String cData)
XMLMarshallableaddCharacterData in interface XMLMarshallablecData - The character data to be addedpublic void marshal(XMLOutputter output)
XMLMarshallablemarshal in interface XMLMarshallableoutput - The XML output to marshal the object into