public class CreateSubscriberAccountResult extends Object implements OperationResult
Create Subscriber Account operation.
Use getCode() or
getReference() or
getServiceProvider() or
getSubscriber()
for getting results.
CreateSubscriberAccountOp The XML APIs specify the following XSD fragment:
XSD Fragment
<xs:element name="createSubscriberAccountResult">
<xs:complexType>
<xs:attribute name="reference" type="xs:string" use="required"/>
<xs:attribute name="code" type="xs:string" use="required"/>
<xs:attribute name="serviceProvider" type="xs:string" use="required"/>
<xs:attribute name="subscriber" type="xs:string" use="required"/>
</xs:complexType>
</xs:element>
| Constructor and Description |
|---|
CreateSubscriberAccountResult()
Builds an empty create subscriber account result.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addCharacterData(String cData)
Adds character data to the content element.
|
void |
addChild(String tagName,
XMLMarshallable child)
Adds a child to the object, the
child representing
the marshallable object which must be added to the element. |
String |
getCode()
Gets the code of the create subscriber account result.
|
String |
getOperandReference()
Gets the code or the reference (if no code exists) that identifies the operand of the operation request;
If the operation is not auditable, the operand reference is
null. |
String |
getReference()
Gets the reference of the create subscriber account result.
|
String |
getServiceProvider()
Gets the serviceProvider of the create subscriber account result.
|
String |
getSubscriber()
Gets the subscriber of the create subscriber account result.
|
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 |
setCode(String code)
Sets the code of the create subscriber account result.
|
void |
setReference(String reference)
Sets the reference of the create subscriber account result.
|
void |
setServiceProvider(String serviceProvider)
Sets the service provider of the create subscriber account result.
|
void |
setSubscriber(String subscriber)
Sets the subscriber of the create subscriber account result.
|
public CreateSubscriberAccountResult()
public String getCode()
public void setCode(String code)
code - The code of the create subscriber account resultpublic String getReference()
public void setReference(String reference)
reference - The reference of the create subscriber account resultpublic String getServiceProvider()
public void setServiceProvider(String serviceProvider)
serviceProvider - The service provider of the create subscriber account resultpublic String getSubscriber()
public void setSubscriber(String subscriber)
subscriber - The subscriber of the create subscriber account resultpublic String getOperandReference()
OperationResultnull.getOperandReference in interface OperationResultpublic void setAttributes(XMLAttributes atts)
XMLMarshallablesetAttributes in interface XMLMarshallableatts - The XML attributes of the current elementpublic void addCharacterData(String cData)
XMLMarshallableaddCharacterData in interface XMLMarshallablecData - The character data to be addedpublic void addChild(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 marshal(XMLOutputter output)
XMLMarshallablemarshal in interface XMLMarshallableoutput - The XML output to marshal the object into