com.ibm.commerce.me.datatype
Interface CIData

All Superinterfaces:
java.io.Serializable
All Known Implementing Classes:
CIDataImpl

public interface CIData
extends java.io.Serializable

The PunchOutSetupCmd uses the CIData object to store all the XML parameters that it receives from the PunchOutSetupRequest message. The buyer can provide a custom implementation of the CIData class.


Field Summary
static java.lang.String COPYRIGHT
          IBM Copyright field
 
Method Summary
  Address getBillTo()
          Gets the bill to address
  Credentials getBuyerCredentials()
          Gets the buyer credentials
 java.lang.String getDepartment()
          Gets the department name
  TypedProperty getLogonData()
          Gets the logon data
  Credentials getMarketPlaceCredentials()
          Gets the marketPlace credentials
  TypedProperty getPOData()
          Gets the purchase order data
  PurchaseOrderHeader getPOHeader()
          Gets the purchase order request header
 java.util.Vector getPOItems()
          Gets the line items in the purchase order request
 java.lang.String getProtocolName()
          Gets the protocol name
 java.lang.String getProtocolVersion()
          Get the protocol version
 java.lang.String getRequisitioner()
          Gets the name of the requisitioner
  SessionInfo getSessionInfo()
          Gets the session information
  Credentials getSupplierCredentials()
          Gets the supplier credentials
 void setLogonData( TypedProperty props)
          Sets the logon data and process the input parameters
 void setPOData( TypedProperty props)           Sets the purchase order data and process the input parameters
 

Field Detail
public static final java.lang.String COPYRIGHT
IBM Copyright field
See Also:
Constant Field Values
Method Detail

getBillTo

public Address getBillTo()
Gets the bill to address
Returns:
the billing address

getBuyerCredentials

public Credentials getBuyerCredentials()
Gets the buyer credentials
Returns:
the buyer credential information

getDepartment

public java.lang.String getDepartment()
Gets the department name
Returns:
department name

getLogonData

public TypedProperty getLogonData()
Gets the logon data
Returns:
NVP for the logon data

getMarketPlaceCredentials

public Credentials getMarketPlaceCredentials()
Gets the marketPlace credentials
Returns:
information for the market place credential

getPOData

public TypedProperty getPOData()
Gets the purchase order data
Returns:
NVP for the purchase order data

getPOHeader

public PurchaseOrderHeader getPOHeader()
Gets the purchase order request header
Returns:
an instance of PurchaseOrderHeader containing the data retrieved from the purcahse order request

getPOItems

public java.util.Vector getPOItems()
Gets the line items in the purchase order request
Returns:
vector of line items in the purchase order request

getProtocolName

public java.lang.String getProtocolName()
Gets the protocol name
Returns:
protocol name

getProtocolVersion

public java.lang.String getProtocolVersion()
Get the protocol version
Returns:
protocol version

getRequisitioner

public java.lang.String getRequisitioner()
Gets the name of the requisitioner
Returns:
requisitioner name

getSessionInfo

public SessionInfo getSessionInfo()
Gets the session information
Returns:
session information

getSupplierCredentials

public Credentials getSupplierCredentials()
Gets the supplier credentials
Returns:
supplier credential information

setLogonData

public void setLogonData(TypedProperty props)
Sets the logon data and process the input parameters
Parameters:
props - TypedProperty which contains the NVP of the input parameters

setPOData

public void setPOData(TypedProperty props)
               throws java.text.ParseException
Sets the purchase order data and process the input parameters
Parameters:
props - TypedProperty which contains the NVP of the purchase order information
java.text.ParseException