public class InternalChargeActionModel extends DefaultChargeActionModel
This model is a rate RateComponentModel containing four properties:
ChargingMode, the default one is ChargingMode.forceNothing>"AccountState, the default one is AccountState.CLOSED>"AccountState, the default one is AccountState.ACTIVE>"DEFAULT_FREE_CHARGE_UP_TO, DEFAULT_NOT_FREE_CHARGE_UP_TO| Constructor and Description |
|---|
InternalChargeActionModel() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
checkValidity()
Returns true if the component is valid.
|
String |
getInternalChargingReference()
Returns the internal charging reference.
|
int |
getMaxChildCount()
Gets the maximum child count.
|
void |
internalAddChild(String name,
XMLMarshallable child) |
void |
internalMarshal(XMLOutputter output) |
void |
setInternalChargingReference(String internalChargingReference)
Sets the internal charging reference.
|
addChild, getAllowFreeChargeUpTo, getAllowNotFreeChargeUpTo, getChargingMode, marshal, setAllowFreeChargeUpTo, setAllowNotFreeChargeUpTo, setChargingModeaddCharacterData, getChildAt, getChildCount, getChildren, getContext, getDescription, getName, getParent, inheritedContext, isRemoveChildAllowed, isSetChildAllowed, remove, removeChild, setAttributes, setChild, setChildren, setDescription, setName, setParentpublic String getInternalChargingReference()
public void setInternalChargingReference(String internalChargingReference)
internalChargingReference - the internal charging reference to set.public int getMaxChildCount()
RateComponentModelgetMaxChildCount in class DefaultChargeActionModelpublic boolean checkValidity()
RateComponentModelcheckValidity in class DefaultChargeActionModelpublic void internalAddChild(String name, XMLMarshallable child)
internalAddChild in class DefaultChargeActionModelpublic void internalMarshal(XMLOutputter output)
internalMarshal in class DefaultChargeActionModel