public class ChargingContractInfo extends HCIModelAdapter
This object contains information about the charging contract associated to a charging result. It contains:
The XML APIs specify the following XSD fragment:
XSD Fragment
<xs:element name="chargingContractInfo">
<xs:complexType>
<xs:attribute name="subscriberAccountId" type="xs:string" use="required" />
<xs:attribute name="chargingContractId" type="xs:string" use="required" />
<xs:attribute name="chargingContractItemId" type="xs:string" use="required" />
</xs:complexType>
</xs:element>
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
TAG_NAME
The XML tag name of this object.
|
| Constructor and Description |
|---|
ChargingContractInfo()
Builds an empty charging contract information object.
|
| 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 |
getChargingContractId()
Gets the identifier of the charging contract.
|
java.lang.String |
getChargingContractItemId()
Gets the external identifier of the charging contract item.
|
java.lang.String |
getSubscriberAccountId()
Gets the identifier of the subscriber account.
|
java.lang.String |
getTagName()
Gets the XML tag name of the HCI model.
|
void |
marshalAttributes(XMLOutputter output)
Gives an XML representation of the attributes of an object.
|
void |
marshalChildren(XMLOutputter output)
Gives an XML representation of the child objects of an object.
|
void |
setAttributes(XMLAttributes atts)
Sets the attributes of the XML representation of the element being
processed.
|
void |
setChargingContractId(java.lang.String chargingContractId)
Sets the identifier of the charging contract.
|
void |
setChargingContractItemId(java.lang.String chargingContractItemId)
Sets the external identifier of the charging contract item.
|
void |
setSubscriberAccountId(java.lang.String subscriberAccountId)
Sets the identifier of the subscriber account.
|
marshalpublic static final java.lang.String TAG_NAME
public ChargingContractInfo()
public java.lang.String getSubscriberAccountId()
public void setSubscriberAccountId(java.lang.String subscriberAccountId)
subscriberAccountId - the identifier of the subscriber accountpublic java.lang.String getChargingContractId()
public void setChargingContractId(java.lang.String chargingContractId)
chargingContractId - the identifier of the charging contractpublic java.lang.String getChargingContractItemId()
public void setChargingContractItemId(java.lang.String chargingContractItemId)
chargingContractItemId - the external identifier of the charging contract itempublic java.lang.String getTagName()
ITagNameProviderpublic void addCharacterData(java.lang.String cData)
XMLMarshallablecData - The character data to be addedpublic void setAttributes(XMLAttributes atts)
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.tagName - The name of tag for the childchild - The child to be addedpublic void marshalAttributes(XMLOutputter output)
IXMLMarshallableoutput - The XML output to marshal the object attributes intopublic void marshalChildren(XMLOutputter output)
IXMLMarshallableoutput - The XML output to marshal the child objects into