com.ibm.commerce.me.datatype

Class BuyerRequestInfo

  • java.lang.Object
    • com.ibm.commerce.me.datatype.BuyerRequestInfo
  • All Implemented Interfaces:
    java.io.Serializable, java.lang.Cloneable


    public class BuyerRequestInfo
    extends java.lang.Object
    implements java.io.Serializable, java.lang.Cloneable
    This class stores the buyer request information once the buyer organization is authenticated.
    See Also:
    Serialized Form
    • Field Summary

      Fields 
      Modifier and Type Field and Description
      static java.lang.String COPYRIGHT
      IBM Copyright field
    • Constructor Summary

      Constructors 
      Constructor and Description
      BuyerRequestInfo()
      The BuyerRequestInfo default constructor calls its parents constructor and sets the creation time to when the constructor is called.
    • Field Detail

      • COPYRIGHT

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

      • BuyerRequestInfo

        public BuyerRequestInfo()
        The BuyerRequestInfo default constructor calls its parents constructor and sets the creation time to when the constructor is called.
    • Method Detail

      • getBuyerCodeType

        public java.lang.String getBuyerCodeType()
        This method gets the buyer code type.
        Returns:
        the buyer code type
      • getBuyerOrgEntity_ID

        public long getBuyerOrgEntity_ID()
        This method gets the buyer organization entity ID.
        Returns:
        the buyer organization entity ID
      • getCatalogId

        public long getCatalogId()
        This method gets the catalog ID.
        Returns:
        the catalog ID
      • getContractId

        public java.lang.Long getContractId()
        This method gets the contract ID.
        Returns:
        the contract ID
      • getCreationTime

        public long getCreationTime()
        This method gets the creation time of this instance.
        Returns:
        the creation time of this information class
      • getCustomSessionProperties

        public TypedProperty getCustomSessionProperties()
        This method gets the custom session properties.
        Returns:
        the custom session property attributes
      • getItemId

        public long getItemId()
        This method gets the item ID.
        Returns:
        the item ID
      • getLangId

        public int getLangId()
        This method gets the language ID for the store.
        Returns:
        the language ID
      • getLogonMode

        public short getLogonMode()
        This method gets the Logon Mode.
        Returns:
        number identifying the logon mode
      • getMemGrpId

        public long getMemGrpId()
        This method gets the Member Group ID.
        Returns:
        the member group ID
      • getOrderApprovalURL

        public java.lang.String getOrderApprovalURL()
        This method gets the order approval URL.
        Returns:
        the order approval URL
      • getOrderId

        public long getOrderId()
        This method gets the order ID.
        Returns:
        the order ID
      • getOrderStatusURL

        public java.lang.String getOrderStatusURL()
        This method gets the order status URL.
        Returns:
        the order status URL
      • getProcurementProtocolId

        public java.lang.Integer getProcurementProtocolId()
        This method gets the procurement protocol ID.
        Returns:
        the ID identifying the procurement protocol
      • getProcurementSessionCookie

        public java.lang.String getProcurementSessionCookie()
        This method gets the procurement session cookie.
        Returns:
        the procurement session cookie
      • getProcurementSessionCookieType

        public java.lang.String getProcurementSessionCookieType()
        This method gets the type of procurement session cookie.
        Returns:
        the procurement session cookie type
      • getStoreId

        public long getStoreId()
        This method gets the store ID.
        Returns:
        the store ID
      • getSupplierCodeType

        public java.lang.String getSupplierCodeType()
        This method gets the type of supplier code.
        Returns:
        the supplier code type
      • getUsersId

        public long getUsersId()
        This method gets the users ID.
        Returns:
        the user ID
      • setBuyerCodeType

        public void setBuyerCodeType(java.lang.String aBuyerCodeType)
        This method sets the buyer code type.
        Parameters:
        aBuyerCodeType - the buyer code type.
      • setBuyerOrgEntity_ID

        public void setBuyerOrgEntity_ID(long aBuyerOrgEntity_ID)
        This method sets the buyer organization entity ID.
        Parameters:
        aBuyerOrgEntity_ID - the new buyer organization entity ID
      • setCatalogId

        public void setCatalogId(long newCatalogId)
        This method sets the catalog ID.
        Parameters:
        newCatalogId - the new catalog ID
      • setContractId

        public void setContractId(java.lang.Long newContractId)
        This method sets the contract ID.
        Parameters:
        newContractId - the new contract ID
      • setCreationTime

        public void setCreationTime(long newCreationTime)
        This method sets the creation time.
        Parameters:
        newCreationTime - the new creation time in millisecond
      • setCustomSessionProperties

        public void setCustomSessionProperties(TypedProperty sessionProperties)
        This method sets the custom session properties.
        Parameters:
        sessionProperties - a set of name-value pair representing custom session properties
      • setItemId

        public void setItemId(long anItemId)
        This method sets the Item ID for display logon mode.
        Parameters:
        anItemId - the new time ID
      • setLangId

        public void setLangId(int aLangId)
        This method sets the language ID.
        Parameters:
        aLangId - the new language ID
      • setLogonMode

        public void setLogonMode(short aLogonMode)
        This method sets the Logon Mode.
        Parameters:
        aLogonMode - the new Logon Mode
      • setMemGrpId

        public void setMemGrpId(long aMemGrpId)
        This method sets the member group ID.
        Parameters:
        aMemGrpId - the new member group ID
      • setOrderApprovalURL

        public void setOrderApprovalURL(java.lang.String postBackURL)
        This method sets the Order Approval URL.
        Parameters:
        postBackURL - the new Order Approval URL
      • setOrderId

        public void setOrderId(long anOrderId)
        This method sets the order ID.
        Parameters:
        anOrderId - the new Order ID
      • setOrderStatusURL

        public void setOrderStatusURL(java.lang.String statusURL)
        This method sets the Order Status URL.
        Parameters:
        statusURL - the new Order Status URL
      • setProcurementProtocolId

        public void setProcurementProtocolId(java.lang.Integer procId)
        This method sets the Procurement Protocol ID.
        Parameters:
        procId - the new procurement protocol ID
      • setProcurementSessionCookie

        public void setProcurementSessionCookie(java.lang.String cookie)
        This method sets the Procurement Session Cookie.
        Parameters:
        cookie - the Procurement Session Cookie
      • setProcurementSessionCookieType

        public void setProcurementSessionCookieType(java.lang.String cookieType)
        This method sets the Procurement Session Cookie Type.
        Parameters:
        cookieType - the type of Procurement Session Cookie
      • setStoreId

        public void setStoreId(long newStoreId)
        This method sets the store ID.
        Parameters:
        newStoreId - the new store ID
      • setSupplierCodeType

        public void setSupplierCodeType(java.lang.String aSupplierCodeType)
        This method sets the type of the supplier code.
        Parameters:
        aSupplierCodeType - the type of supplier code
      • setUsersId

        public void setUsersId(long aUsersId)
        This method sets the users ID.
        Parameters:
        aUsersId - the new users ID for the buyer