public class ChargingContractItemRevisionAccountAssignmentModel extends HCIModelAdapter
Provisioning system must give back in Charging Contract Item all Account Assignments defined in the Charge Plan Class with their account id.
A ChargingContractItemAccountAssignmentModel is composed of:
name, which must be the same name as the one defined in
the Charge Plan Class. It uniquely identifies an
Account Assignment in a Charging Contract Item.type, which must be the same type as
the one defined in the Charge Plan Class. It defines if the account
reference is a prepaid or postpaid account.accountId, which is the unique account identifier of the
account owned by the Subscriber Account defined in the
Charging Contract. This account is used as the target of the account
reference.The XML APIs specify the following XSD fragment:
XSD Fragment
<xs:complexType name="ChargingContractItemRevisionAccountAssignmentType"> <xs:attribute name="name" type="xs:string"/> <xs:attribute name="accountId" type="xs:string"/> </xs:complexType>
| Modifier and Type | Field and Description |
|---|---|
static String |
TAG_NAME
The XML tag name of the
|
| Constructor and Description |
|---|
ChargingContractItemRevisionAccountAssignmentModel() |
| 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 |
getAccountId()
Gets the
accountId of the Account Assignment.. |
String |
getName()
Gets the
name which uniquely identifies the
ChargingContractItemAccountAssignmentModel in the
Charging Contract Item. |
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 |
setAccountId(String accountId)
Sets the
accountId of the Account Assignment. |
void |
setAttributes(XMLAttributes atts)
Sets the attributes of the XML representation of the element being
processed.
|
void |
setName(String name)
Sets the
name which uniquely identifies the
ChargingContractItemAccountAssignmentModel in the
Charging Contract Item. |
marshalpublic static final String TAG_NAME
public ChargingContractItemRevisionAccountAssignmentModel()
public String getName()
name which uniquely identifies the
ChargingContractItemAccountAssignmentModel in the
Charging Contract Item.name which uniquely identifies the
ChargingContractItemAccountAssignmentModel in the
Charging Contract Item.public void setName(String name)
name which uniquely identifies the
ChargingContractItemAccountAssignmentModel in the
Charging Contract Item.name - the name which uniquely identifies the
ChargingContractItemAccountAssignmentModel in the
Charging Contract Item.public String getAccountId()
accountId of the Account Assignment..accountId which is the unique account identifier
of the account owned by the Subscriber Account defined
in the Charging Contract.public void setAccountId(String accountId)
accountId of the Account Assignment.accountId - the accountId which is the unique account
identifier of the account owned by the
Subscriber Account defined in the
Charging Contract.public String getTagName()
ITagNameProviderpublic 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 intopublic void addCharacterData(String cData)
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.tagName - The name of tag for the childchild - The child to be addedpublic void setAttributes(XMLAttributes atts)
XMLMarshallableatts - The XML attributes of the current element