com.highdeal.pnr.hci
Class OneShotChargeModel

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

public class OneShotChargeModel
extends ChargeModel

This class represents a one-shot charge of a charging plan.

Since:
Transactive 4.0

XML API for HCI

The XML APIs specify the following XSD fragment:

XSD Fragment

<xs:element name="oneshotCharge">
  <xs:complexType>
   <xs:sequence>
    <xs:element ref="component" minOccurs="1" maxOccurs="1"/>
   </xs:sequence>
   <xs:attribute name="name" type="xs:string"/>
   <xs:attribute name="description" type="xs:string"/>
  </xs:complexType>
 </xs:element>


Field Summary
 
Fields inherited from class com.highdeal.pnr.hci.RateComponentModel
children, description, name, parent
 
Constructor Summary
OneShotChargeModel()
           
 
Method Summary
 void marshal(XMLOutputter output)
          Gives an XML representation of this object, including its children.
 
Methods inherited from class com.highdeal.pnr.hci.ChargeModel
checkValidity, getMaxChildCount, getRateComponent, setRateComponent
 
Methods inherited from class com.highdeal.pnr.hci.RateComponentModel
addCharacterData, addChild, 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

OneShotChargeModel

public OneShotChargeModel()
Method Detail

marshal

public void marshal(XMLOutputter output)
Description copied from interface: XMLMarshallable
Gives an XML representation of this object, including its children.

Specified by:
marshal in interface XMLMarshallable
Overrides:
marshal in class RateComponentModel
Parameters:
output - The XML output to marshal the object into

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