com.ibm.commerce.negotiation.commands

Class RecordAuctionPaymentCmdImpl

    • Field Detail

      • COPYRIGHT

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

      • RecordAuctionPaymentCmdImpl

        public RecordAuctionPaymentCmdImpl()
        RecordAuctionPaymentCmdImpl default constructor.
    • Method Detail

      • getBidAccessBean

        public BidAccessBean getBidAccessBean()
        Returns the access bean representing the bid.
        Returns:
        com.ibm.commerce.negotiation.objects.BidAccessBean
      • isReadyToCallExecute

        public boolean isReadyToCallExecute()
        Is the command ready to be executed.
        Specified by:
        isReadyToCallExecute in interface com.ibm.websphere.command.Command
        Overrides:
        isReadyToCallExecute in class AbstractECTargetableCommand
        Returns:
        true if the command is ready, false otherwise.
      • reset

        public void reset()
        Resets the command parameters.
        Specified by:
        reset in interface com.ibm.websphere.command.Command
        Overrides:
        reset in class AbstractECTargetableCommand
      • setActionType

        public void setActionType(int actionType)
        Sets the payment action types for update an existing payment or create a new one.
        Specified by:
        setActionType in interface RecordAuctionPaymentCmd
        Parameters:
        actionType - int - Create or Update.
      • setAmount

        public void setAmount(java.math.BigDecimal amt)
        Sets the pay amount.
        Specified by:
        setAmount in interface RecordAuctionPaymentCmd
        Parameters:
        amt - The pay amount.
      • setBidAccessBean

        public void setBidAccessBean(BidAccessBean newBidAccessBean)
        Stores the incoming access bean representing the bid.
        Parameters:
        newBidAccessBean -
      • setBidId

        public void setBidId(java.lang.Long bidid)
        Sets bid ID.
        Specified by:
        setBidId in interface RecordAuctionPaymentCmd
        Parameters:
        bidid - The bid ID.
      • setComment

        public void setComment(java.lang.String newComment)
        Sets the Comment.
        Specified by:
        setComment in interface RecordAuctionPaymentCmd
        Parameters:
        newComment -
      • setEncryptedPaymentInfo

        public void setEncryptedPaymentInfo(java.lang.String aName)
        Sets encrypted payment string.
        Specified by:
        setEncryptedPaymentInfo in interface RecordAuctionPaymentCmd
        Parameters:
        aName - java.lang.String
      • setEncryption

        public void setEncryption(int encrypt)
        Sets encryption. 1 for encryption, 0 for no-encryption.
        Specified by:
        setEncryption in interface RecordAuctionPaymentCmd
        Parameters:
        encrypt - The encryption, 1 for encryption, 0 for no-encryption.
      • setExpirationDate

        public void setExpirationDate(java.sql.Timestamp aDate)
        Sets the expiration date.
        Parameters:
        aData - The expiration date.
      • setPaymentType

        public void setPaymentType(int paymentType)
        Sets the payment type value. 1 for deposit, 2 for order payment
        Specified by:
        setPaymentType in interface RecordAuctionPaymentCmd
        Parameters:
        paymentType -
      • setPayMethod

        public void setPayMethod(java.lang.String aMethod)
        Sets payment method (for example, Visa, MasterCard, and so forth.).
        Parameters:
        aMethod - The payment method (for example, Visa, MasterCard, and so forth.).