com.highdeal.pnr.hci
Class InternalChargeActionModel

java.lang.Object
  extended by com.highdeal.pnr.hci.RateComponentModel
      extended by com.highdeal.pnr.hci.DefaultChargeActionModel
          extended by com.highdeal.pnr.hci.InternalChargeActionModel
All Implemented Interfaces:
XMLMarshallable, ContextualNode

public class InternalChargeActionModel
extends DefaultChargeActionModel

This class represents the action of charging on an internal charging reference following a charging mode.


This model is a rate RateComponentModel containing four properties:

Since:
Transactive 4.0

Field Summary
 
Fields inherited from class com.highdeal.pnr.hci.DefaultChargeActionModel
DEFAULT_FREE_CHARGE_UP_TO, DEFAULT_NOT_FREE_CHARGE_UP_TO
 
Fields inherited from class com.highdeal.pnr.hci.RateComponentModel
children, description, name, parent
 
Constructor Summary
InternalChargeActionModel()
           
 
Method Summary
 boolean checkValidity()
          Returns true if the component is valid.
 java.lang.String getInternalChargingReference()
          Returns the internal charging reference.
 int getMaxChildCount()
          Gets the maximum child count.
 void internalAddChild(java.lang.String name, XMLMarshallable child)
           
 void internalMarshal(XMLOutputter output)
           
 void setInternalChargingReference(java.lang.String internalChargingReference)
          Sets the internal charging reference.
 
Methods inherited from class com.highdeal.pnr.hci.DefaultChargeActionModel
addChild, getAllowFreeChargeUpTo, getAllowNotFreeChargeUpTo, getChargingMode, marshal, setAllowFreeChargeUpTo, setAllowNotFreeChargeUpTo, setChargingMode
 
Methods inherited from class com.highdeal.pnr.hci.RateComponentModel
addCharacterData, getChildAt, getChildCount, getChildren, getContext, getDescription, getName, getParent, inheritedContext, isRemoveChildAllowed, isSetChildAllowed, marshallChildren, remove, removeChild, setAttributes, setChild, setChild, setChildren, setDescription, setName, setParent
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

InternalChargeActionModel

public InternalChargeActionModel()
Method Detail

getInternalChargingReference

public java.lang.String getInternalChargingReference()
Returns the internal charging reference.

Returns:
the internal charging reference.

setInternalChargingReference

public void setInternalChargingReference(java.lang.String internalChargingReference)
Sets the internal charging reference.

Parameters:
internalChargingReference - the internal charging reference to set.

getMaxChildCount

public int getMaxChildCount()
Description copied from class: RateComponentModel
Gets the maximum child count.

Overrides:
getMaxChildCount in class DefaultChargeActionModel
Returns:
the maximum child count.

checkValidity

public boolean checkValidity()
Description copied from class: RateComponentModel
Returns true if the component is valid.

Overrides:
checkValidity in class DefaultChargeActionModel
Returns:
true if the component is valid, false otherwise.

internalAddChild

public void internalAddChild(java.lang.String name,
                             XMLMarshallable child)
Overrides:
internalAddChild in class DefaultChargeActionModel

internalMarshal

public void internalMarshal(XMLOutputter output)
Overrides:
internalMarshal in class DefaultChargeActionModel

Document Published: October 2015 (SAP CC 4.0 SP10 and Later)