public class ExternalChargeActionModel extends RateComponentModel
This model is a rate RateComponentModel containing two properties:
| Constructor and Description |
|---|
ExternalChargeActionModel() |
| Modifier and Type | Method and Description |
|---|---|
void |
addChild(String name,
XMLMarshallable child)
Adds a child to the object, the
child representing
the marshallable object which must be added to the element. |
boolean |
checkValidity()
Returns true if the component is valid.
|
String |
getCreditorId()
Return the creditorId.
|
String |
getCreditorIdName()
Return the name of the contextual property containing the creditorId.
|
String |
getDebtorId()
Return the debtorId
|
String |
getDebtorIdName()
Return the name of the contextual property containing debtorId.
|
String |
getExternalChargingReference()
Return the external charging reference.
|
String |
getExternalChargingReferenceName()
Return the name of the contextual property containing the external charging reference.
|
int |
getMaxChildCount()
Gets the maximum child count.
|
void |
marshal(XMLOutputter output)
Gives an XML representation of this object, including its children.
|
void |
setCreditorId(String creditorId)
Sets the creditorId.
|
void |
setCreditorIdName(String creditorIdName)
Sets the name of the contextual property containing the creditorId.
|
void |
setDebtorId(String debtorId)
Set the debtorId.
|
void |
setDebtorIdName(String debtorIdName)
Sets the name of the contextual property containing the debtorId.
|
void |
setExternalChargingReference(String externalChargingReference)
Sets the external charging reference.
|
void |
setExternalChargingReferenceName(String externalChargingReferenceName)
Sets the name of the contextual property containing the external charging reference.
|
addCharacterData, getChildAt, getChildCount, getChildren, getContext, getDescription, getName, getParent, inheritedContext, isRemoveChildAllowed, isSetChildAllowed, remove, removeChild, setAttributes, setChild, setChildren, setDescription, setName, setParentpublic String getDebtorId()
public void setDebtorId(String debtorId)
debtorId - the debtorId to set.public String getDebtorIdName()
public void setDebtorIdName(String debtorIdName)
debtorIdName - the name of the contextual property containing the debtorId.public String getCreditorId()
public void setCreditorId(String creditorId)
creditorId - the creditorId to set.public String getCreditorIdName()
public void setCreditorIdName(String creditorIdName)
creditorIdName - the name of the contextual property containing the creditorId.public String getExternalChargingReference()
public void setExternalChargingReference(String externalChargingReference)
externalChargingReference - the external charging reference.public String getExternalChargingReferenceName()
public void setExternalChargingReferenceName(String externalChargingReferenceName)
externalChargingReferenceName - the name of the contextual property containing the external charging reference.public int getMaxChildCount()
RateComponentModelgetMaxChildCount in class RateComponentModelpublic boolean checkValidity()
RateComponentModelcheckValidity in class RateComponentModelpublic void addChild(String name, XMLMarshallable child)
XMLMarshallablechild representing
the marshallable object which must be added to the element.addChild in interface XMLMarshallableaddChild in class RateComponentModelname - The name of tag for the childchild - The child to be addedpublic void marshal(XMLOutputter output)
XMLMarshallablemarshal in interface XMLMarshallablemarshal in class RateComponentModeloutput - The XML output to marshal the object into