com.ibm.commerce.negotiation.beans

Class AutoBidDataBean

    • Constructor Detail

      • AutoBidDataBean

        public AutoBidDataBean()
        Constructs auto bid data bean, initializes fields to emptyString.
      • AutoBidDataBean

        public AutoBidDataBean(AutoBidAccessBean anAccessBean)
        Constructs auto bid data bean, initializes fields to emptyString.
        Parameters:
        anAccessBean - com.ibm.commerce.negotiation.objects.AutoBidAccessBean
        Throws:
        ECException
      • AutoBidDataBean

        public AutoBidDataBean(com.ibm.commerce.negotiation.objects.AutoBid o)
        Constructs auto bid data bean, initializes fields to emptyString.
        Parameters:
        o - javax.ejb.EJBObject
    • Method Detail

      • getAutoBidId

        public java.lang.String getAutoBidId()
        Gets the auto bid ID field.
        Specified by:
        getAutoBidId in interface AutoBidSmartDataBean
        Returns:
        the auto bid ID.
      • getDeviceExpDate

        public java.lang.String getDeviceExpDate()
        Gets device expiration date in format: yyyy-mm-dd
        Specified by:
        getDeviceExpDate in interface AutoBidSmartDataBean
        Returns:
        the expiration date of the relevant credit device.
      • getDeviceExpDay

        public java.lang.String getDeviceExpDay()
        Gets the device expiration (for example, credit expiration) day in format: dd
        Specified by:
        getDeviceExpDay in interface AutoBidSmartDataBean
        Returns:
        the expiration day of the relevant credit device.
      • getDeviceExpMonth

        public java.lang.String getDeviceExpMonth()
        Gets the device expiration (for example, credit expiration) month in format: mm
        Specified by:
        getDeviceExpMonth in interface AutoBidSmartDataBean
        Returns:
        the expiration month of the relevant credit device.
      • getDeviceExpYear

        public java.lang.String getDeviceExpYear()
        Gets the device expiration (for example, credit expiration) year in format: yyyy
        Specified by:
        getDeviceExpYear in interface AutoBidSmartDataBean
        Returns:
        the expiration year of the relevant credit device.
      • getPaymentInfoNVPairs

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

        public void populate()
        Fetches field values from the access bean.
        Specified by:
        populate in interface SmartDataBean
        Throws:
        java.lang.Exception - On any access bean error.
      • setAutoBidId

        public void setAutoBidId(java.lang.String newAutoBidId)
        Sets the auto bid ID and uses the value to set a key field on the access bean.
        Specified by:
        setAutoBidId in interface AutoBidInputDataBean
        Parameters:
        newAutoBidId - relevant auto bid ID.
      • setBidReferenceCode

        public void setBidReferenceCode(java.lang.String newBidReferenceCode)
        Sets Bid Reference Code. This method will find bid information by reference code
        Parameters:
        newBidReferenceCode - The bid reference code.
      • setCommandContext

        public void setCommandContext(CommandContext newCommandContext)
        Sets the active command context.
        Specified by:
        setCommandContext in interface SmartDataBean
        Parameters:
        newCommandContext - the active command context.
      • setPaymentInfoNVPairs

        public void setPaymentInfoNVPairs(java.util.Hashtable newPaymentInfoNVPairs)
        Stores the incoming hashtable of payment information in a member variable.
        Parameters:
        newPaymentInfoNVPairs - java.util.Hashtable
      • getFormattedMaxBidLimit

        public java.lang.String getFormattedMaxBidLimit()
        Gets the formatted max bid limit
        Returns:
        formatted max bid limit
      • getFormattedBidQuantity

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

        public java.lang.String getFormattedInitBidPrice()
        Gets the formatted bid initial quantity
        Returns:
        formatted bid initial quantity
      • getTrimEncrypt

        public java.lang.String getTrimEncrypt()
      • getFormattedCreationTime

        public java.lang.String getFormattedCreationTime()
        Gets the formatted bid create time
        Returns:
        formatted bid create time
      • 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
      • getPaymentInfo

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