com.ibm.commerce.negotiation.beans

Class BidDataBean

    • Constructor Detail

      • BidDataBean

        public BidDataBean()
        Constructs a bid data bean object.
      • BidDataBean

        public BidDataBean(BidAccessBean anAccessBean)
        Constructs a bid data bean object.
      • BidDataBean

        public BidDataBean(com.ibm.commerce.negotiation.objects.Bid o)
        Constructs a bid data bean object.
        Parameters:
        o - javax.ejb.EJBObject
    • Method Detail

      • getDeviceExpDate

        public java.lang.String getDeviceExpDate()
        Gets device expiration date. Format: yyyy-mm-dd
        Specified by:
        getDeviceExpDate in interface BidSmartDataBean
        Returns:
        The device expiration date.
      • getDeviceExpDay

        public java.lang.String getDeviceExpDay()
        Gets device expiration day. Format: dd
        Specified by:
        getDeviceExpDay in interface BidSmartDataBean
        Returns:
        The device expiration day.
      • getDeviceExpMonth

        public java.lang.String getDeviceExpMonth()
        Gets device expiration month. Format: mm
        Specified by:
        getDeviceExpMonth in interface BidSmartDataBean
        Returns:
        The device expiration month.
      • getDeviceExpYear

        public java.lang.String getDeviceExpYear()
        Gets device expiration year. Format: yyyy
        Specified by:
        getDeviceExpYear in interface BidSmartDataBean
        Returns:
        The device expiration year.
      • getPayinfoNVPairs

        public java.util.Hashtable getPayinfoNVPairs()
        Gets payment related information. Only the bidder himself/herself can get this.
        Returns:
        The hashtable of payment information.
      • populate

        public void populate()
        Retrieves bid information and populates BidDataBean object.
        Specified by:
        populate in interface SmartDataBean
        Throws:
        java.lang.Exception - if any problems are encountered.
      • setBidId

        public void setBidId(java.lang.String newBidId)
        Sets the bid ID, which is used as a lookup key.
        Specified by:
        setBidId in interface BidInputDataBean
        Parameters:
        newBidId - The bid ID.
      • setBidReferenceCode

        public void setBidReferenceCode(java.lang.String newBidReferenceCode)
        Sets bid reference code. This method will find bid information by reference code
        Specified by:
        setBidReferenceCode in interface BidInputDataBean
        Parameters:
        newBidReferenceCode - The bid reference code.
      • setPayinfoNVPairs

        public void setPayinfoNVPairs(java.util.Hashtable newPayinfoNVPairs)
        Stores the incoming hashtable of payment information in a member variable.
        Parameters:
        newPayinfoNVPairs - The hashtable of payment information.
      • setRequestProperties

        public void setRequestProperties(TypedProperty newRequestProperties)
        Copies the input command properties.
        Specified by:
        setRequestProperties in interface InputDataBean
        Parameters:
        newRequestProperties - The command properties.
      • getFormattedBidPrice

        public java.lang.String getFormattedBidPrice()
        Gets the formatted bid price
        Returns:
        formatted bid price
      • getBidPriceForEdit

        public java.lang.String getBidPriceForEdit()
        Gets the formatted bid price for edit
        Returns:
        formatted bid price
      • getFormattedBidQuantity

        public java.lang.String getFormattedBidQuantity()
        Gets the formatted bid quantity
        Returns:
        formatted bid quantity
      • getOwnerId

        public java.lang.String getOwnerId()
        Gets the owner Id
        Overrides:
        getOwnerId in class BidAccessBean
        Returns:
        owner Id
      • getFormattedBidCreationTime

        public java.lang.String getFormattedBidCreationTime()
        Gets the formatted bid creation time
        Returns:
        bid creation time
      • getFormattedWinningPrice

        public java.lang.String getFormattedWinningPrice()
        Gets the formatted winning price
        Returns:
        formatted winning price
      • getFormattedWinningQuantity

        public java.lang.String getFormattedWinningQuantity()
        Gets the formatted winning quantity
        Returns:
        formatted winning quantity
      • getBidComment

        public java.lang.String getBidComment()
        Gets the bid comment
        Overrides:
        getBidComment in class BidAccessBean
        Returns:
        bid comment
      • getCcNumber

        public java.lang.String getCcNumber()
        Gets the payment card number
        Returns:
        payment card number
      • getCcYear

        public java.lang.String getCcYear()
        Gets the payment card expire year
        Returns:
        payment card expire year
      • getCcMonth

        public java.lang.String getCcMonth()
        Gets the payment card expire month
        Returns:
        payment card expire month
      • getPayPolicyId

        public java.lang.String getPayPolicyId()
        Gets the payment policy Id
        Returns:
        payment policy Id
      • getPayBrandName

        public java.lang.String getPayBrandName()
        Gets the payment brand name
        Returns:
        payment brand name
      • getAuctionDataBean

        public AuctionDataBean getAuctionDataBean()
        Gets auction databean
        Returns:
        auction databean
      • getUserInfoDataBean

        public UserInfoDataBean getUserInfoDataBean()
        Gets UserInfo databean
        Returns:
        UserInfo databean
      • getPaymentInfo

        public java.lang.String getPaymentInfo()
        Gets payment related information. Only the bidder himself/herself can get this.
        Returns:
        The String of payment information.