|
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.pnr.hci.ChargeParameters
public class ChargeParameters
This Java class represents a list of chargeable items sent in a batch charging operation request;
See the offline charging services in com.highdeal.cnd.message.
It includes:
set of properties
AsyncBatchServiceClient,
BatchServiceClient The XML APIs specify the following XSD fragment:
XSD Fragment
<xs:element name="chargeParameters">
<xs:complexType>
<xs:sequence>
<xs:element ref="ci" minOccurs="1" maxOccurs="1"/>
</xs:sequence>
<xs:attribute name="userID" type="xs:string" use="required" />
<xs:attribute name="serviceID" type="xs:string" use="required" />
<xs:attribute name="consumptionDate" type="xs:dateTime" use="required"/>
<xs:attribute name="activationID" type="xs:integer" />
</xs:complexType>
</xs:element>
| Constructor Summary | |
|---|---|
ChargeParameters()
Constructs an empty Charge parameters |
|
| 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. |
long |
getActivationID()
Gets the activation ID for this charge operation. |
java.util.Date |
getConsumptionDate()
Gets the consumption date of the customer service; this applies to the batch charging operation. |
ChargeableItem |
getItem()
Returns the item to be charged. |
java.lang.String |
getName()
The tag of this class is "chargeParameters". |
java.lang.String |
getServiceID()
Gets the service ID for this batch charge operation. |
java.lang.String |
getUserID()
Gets the user ID for this batch charge operation. |
void |
marshal(XMLOutputter output)
Gives an XML representation of this object, including its children. |
void |
setActivationID(long activationID)
Sets the activation ID for this charge operation. |
void |
setAttributes(XMLAttributes atts)
Sets the attributes of the XML representation of the element being processed. |
void |
setConsumptionDate(java.util.Date d)
Sets the consumption date of the customer service; this applies to all the items in this batch charge operation. |
void |
setItem(ChargeableItem i)
Sets the item to be charged in batch mode. |
void |
setServiceID(java.lang.String serviceID)
Sets the service ID (SID) for this batch charge operation. |
void |
setUserID(java.lang.String userID)
Sets the user ID for this batch charge operation. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ChargeParameters()
| Method Detail |
|---|
public java.lang.String getName()
public ChargeableItem getItem()
public void setItem(ChargeableItem i)
i - The item to be chargedpublic java.util.Date getConsumptionDate()
public void setConsumptionDate(java.util.Date d)
d - The consumption date for this batch charge operationpublic java.lang.String getUserID()
public void setUserID(java.lang.String userID)
userID - The user ID for this batch charge operationpublic java.lang.String getServiceID()
public void setServiceID(java.lang.String serviceID)
serviceID - The service ID for this batch charge operationpublic long getActivationID()
public void setActivationID(long activationID)
activationID - The activation ID valuepublic void setAttributes(XMLAttributes atts)
XMLMarshallable
setAttributes in interface XMLMarshallableatts - The XML attributes of the current elementpublic void addCharacterData(java.lang.String cData)
XMLMarshallable
addCharacterData in interface XMLMarshallablecData - The character data to be added
public void addChild(java.lang.String tagName,
XMLMarshallable child)
XMLMarshallablechild representing
the marshallable object which must be added to the element.
addChild in interface XMLMarshallabletagName - The name of tag for the childchild - The child to be addedpublic void marshal(XMLOutputter output)
XMLMarshallable
marshal in interface XMLMarshallableoutput - The XML output to marshal the object 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 | ||||||||