|
SAP Convergent Charging
Java and XML APIs (Core) |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.highdeal.hci.HCIModelAdapter
com.highdeal.pnr.hci.AccountOperation.AmountAssignment
public static class AccountOperation.AmountAssignment
This class represents the assignment of part of the amount of an account operation to an account.
An amount assignment contains:
account referencecharged item key
The XML APIs specify the following XSD fragment:
XSD Fragment
<xs:element name="amountAssignment">
<xs:complexType>
<xs:attribute name="amount" type="xs:string" use="required" />
<xs:attribute name="referenceType" type="xs:string" use="required" />
<xs:attribute name="referenceId" type="xs:string" use="required" />
<xs:attribute name="chargedItemKey" type="xs:string" use="required" />
</xs:complexType>
</xs:element>
| Field Summary | |
|---|---|
static java.lang.String |
TAG_NAME
The XML tag name of this object: "amountAssignment" |
| Constructor Summary | |
|---|---|
AccountOperation.AmountAssignment()
Builds an uninitialized amount assignment. |
|
AccountOperation.AmountAssignment(Money amount,
AccountOperation.AccountReference reference,
int chargedItemKey)
Builds an amount assignment with an amount, an account reference
and a charged item key. |
|
| Method Summary | |
|---|---|
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. |
AccountOperation.AccountReference |
getAccountReference()
Gets the account reference related to the assignment. |
Money |
getAmount()
Gets the amount of the assignment. |
int |
getChargedItemKey()
Gets the key of the charged item related to the assignment. |
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 |
setAccountReference(AccountOperation.AccountReference reference)
Sets the account reference related to the assignment. |
void |
setAmount(Money amount)
Sets the amount of the assignment. |
void |
setAttributes(XMLAttributes atts)
Sets the attributes of the XML representation of the element being processed. |
void |
setChargedItemKey(int chargedItemKey)
Sets the key of the charged item related to the assignment. |
| Methods inherited from class com.highdeal.hci.HCIModelAdapter |
|---|
marshal |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final java.lang.String TAG_NAME
| Constructor Detail |
|---|
public AccountOperation.AmountAssignment()
public AccountOperation.AmountAssignment(Money amount,
AccountOperation.AccountReference reference,
int chargedItemKey)
account reference
and a charged item key.
amount - The amount of the assignmentreference - The account reference related to the assignmentchargedItemKey - The key of the charged item related to the assignment| Method Detail |
|---|
public Money getAmount()
public void setAmount(Money amount)
amount - The amount of the assignmentpublic AccountOperation.AccountReference getAccountReference()
account reference related to the assignment.
account reference related to the assignmentpublic void setAccountReference(AccountOperation.AccountReference reference)
account reference related to the assignment.
reference - The account reference related to the assignmentpublic int getChargedItemKey()
charged item related to the assignment.
charged item related to the assignmentpublic void setChargedItemKey(int chargedItemKey)
charged item related to the assignment.
chargedItemKey - The key of the charged item related to the assignmentpublic java.lang.String getTagName()
ITagNameProvider
public void addCharacterData(java.lang.String cData)
XMLMarshallable
cData - The character data to be addedpublic void setAttributes(XMLAttributes atts)
XMLMarshallable
atts - The XML attributes of the current element
public 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)
IXMLMarshallable
output - The XML output to marshal the object attributes intopublic void marshalChildren(XMLOutputter output)
IXMLMarshallable
output - The XML output to marshal the child objects into
|
Document Published: October 2015 (SAP CC 4.0 SP10 and Later) | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||