SAP CC 1.0
API 4.2 (Core)

com.highdeal.pnr.hci
Class CreateOfferOp

java.lang.Object
  extended by com.highdeal.pnr.hci.CreateOfferOp
All Implemented Interfaces:
MessageOperation, XMLMarshallable

public class CreateOfferOp
extends java.lang.Object
implements MessageOperation

This operation allows to create a new offer.

See Also :
CreateOfferResult
Operation Failure Exception :
InvalidCreationException
ServerFailureException
Operation available with roles :
"marketing" "admin"


XML Schema Fragment
<xs:element name="createOffer">
   <xs:complexType>
     <xs:sequence>
       <xs:element ref="offer" minOccurs="1" maxOccurs="1"/>
     </xs:sequence>
   </xs:complexType>
 </xs:element>

Operation availability :
EditionAvailable On:
RaterUpdaterBackupGuiderChargerBulkLoaderBillingAssistantEZTaxer
Ratenoyesnononononono
Chargenoyesnononononono
Billnoyesnononononono
Fullnoyesnononononono

Field Summary
static java.lang.String OPERATION_NAME
           
 
Constructor Summary
CreateOfferOp()
          Creates an empty operation.
 
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 objects, the child represents the marshallable object to be added into the content tree.
 java.util.Date getCreationDate()
          Gets the creation date.
 java.lang.String getName()
          Gets the name of the operation.
 OfferModel getOffer()
          Gets the offer to be created.
 void marshal(XMLOutputter output)
          Gives an XML representation of this object, and of its children.
 void setAttributes(XMLAttributes atts)
          Sets the attributes of the XML representation of the tag beeing processed.
 void setCreationDate(java.util.Date creationDate)
          Sets the creation date.
 void setOffer(OfferModel o)
          Sets the offer to be created.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

OPERATION_NAME

public static final java.lang.String OPERATION_NAME
See Also:
Constant Field Values
Constructor Detail

CreateOfferOp

public CreateOfferOp()
Creates an empty operation.

Method Detail

getCreationDate

public java.util.Date getCreationDate()
Gets the creation date.

Returns:
the date of the creation.

setCreationDate

public void setCreationDate(java.util.Date creationDate)
Sets the creation date.

Parameters:
creationDate - the creation date.

getName

public java.lang.String getName()
Gets the name of the operation.

Specified by:
getName in interface MessageOperation
Returns:
"createOffer"

getOffer

public OfferModel getOffer()
Gets the offer to be created.

Returns:
the offer to be created.

setOffer

public void setOffer(OfferModel o)
Sets the offer to be created.

Parameters:
o - the offer to be created.

setAttributes

public void setAttributes(XMLAttributes atts)
Description copied from interface: XMLMarshallable
Sets the attributes of the XML representation of the tag beeing processed.

Specified by:
setAttributes in interface XMLMarshallable
Parameters:
atts - the XML attributes of the current tag.

addCharacterData

public void addCharacterData(java.lang.String cData)
Description copied from interface: XMLMarshallable
Adds character data to the content element.

Specified by:
addCharacterData in interface XMLMarshallable
Parameters:
cData - the character data to be added.

addChild

public void addChild(java.lang.String tagName,
                     XMLMarshallable child)
Description copied from interface: XMLMarshallable
Adds a child to the objects, the child represents the marshallable object to be added into the content tree.

Specified by:
addChild in interface XMLMarshallable
Parameters:
tagName - the name of tag for the child.
child - the child to be added.

marshal

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

Specified by:
marshal in interface XMLMarshallable
Parameters:
output - the XML output to marshall the object into.

SAP CC 1.0
API 4.2 (Core)


API Reference - July 2009

SAP Convergent Charging 1.0 (build R4.2.1.35.0.0)
CONVERGENT CHARGING 4.2

(c) Copyright 2009 SAP AG. All rights reserved.