java.lang.ObjectCacheableCommandImpl
com.ibm.commerce.command.AbstractECTargetableCommand
com.ibm.commerce.command.TaskCommandImpl
com.ibm.commerce.negotiation.commands.RecordAuctionPaymentCmdImpl
RecordAuctionPayment adds a payment record for a bid to bidpayment table. This command uses the following AccessBeans:
Field Summary | |
protected java.math.BigDecimal | amount Copyright statement. |
protected java.lang.String | bankName The name of the bank. |
protected BidAccessBean | bidAccessBean The access bean representing the bid. |
protected java.lang.Long | bidId The bid id. |
protected java.lang.Long | bidPaymentId The bid Payment record Id. |
protected java.lang.String | cardNumber The card Number |
protected java.lang.String | comment The comment. |
static java.lang.String | COPYRIGHT Copyright statement. |
protected java.lang.String | encryptedPaymentInfo The encrypted payment info string. |
protected int | encryption The encryption. |
protected java.sql.Timestamp | expirationDate The Expiration Date. |
protected java.lang.String | payMethod The payment Method. |
Fields inherited from class com.ibm.commerce.command.AbstractECTargetableCommand |
commandContext |
Fields inherited from interface com.ibm.commerce.negotiation.commands.RecordAuctionPaymentCmd |
defaultCommandClassName, NAME |
Fields inherited from interface com.ibm.commerce.command.ECCommand |
defaultCommandClassName |
Constructor Summary | |
RecordAuctionPaymentCmdImpl() RecordAuctionPaymentCmdImpl default constructor. |
Method Summary | |
java.math.BigDecimal | getAmount() getAmount method comment. |
BidAccessBean | getBidAccessBean() Returns the access bean representing the bid. |
java.lang.Long | getBidId() Get Bid Id. |
java.lang.Long | getBidPaymentId() Get the Bid Payment record Id. |
java.lang.String | getComment() Returns the comment. |
java.lang.String | getEncryptedPaymentInfo() returns encrypted payment info string. |
int | getEncryption() getEncryption method comment. |
int | getPaymentType() Get the payment type value. |
boolean | isReadyToCallExecute() Is the command ready to be executed. |
void | performExecute() Execute the command. |
protected void | recordPayment() Creates or updates a payment record. |
void | reset() Reset the command parameters. |
void | setActionType(int actionType) Set the payment action type for Update an existing payment or create a new one. |
void | setAmount(java.math.BigDecimal amt) set the pay amount. |
void | setBidAccessBean(BidAccessBean newBidAccessBean) Stores the incoming access bean representing the bid. |
void | setBidId(java.lang.Long bidid) set Bid Id. |
void | setComment(java.lang.String newComment) set the Comment. |
void | setEncryptedPaymentInfo(java.lang.String aName) Set encrypted payment string. |
void | setEncryption(int encrypt) set Encryption. |
void | setExpirationDate(java.sql.Timestamp aDate) set the Expiration Date. |
void | setPaymentType(int paymentType) Set the payment type value. |
void | setPayMethod(java.lang.String aMethod) set Payment Method (e.g. |
void | validateParameters() Checks for the validity of the incoming parameters. |
Methods inherited from class com.ibm.commerce.command.AbstractECTargetableCommand |
accessControlCheck, checkIsAllowed, checkParameters, checkResourcePermission, createCommandExecutionEvent, execute, finalize, getAccCheck, getCommandContext, getCommandIfName, getCommandName, getCommandStoreId, getDefaultProperties, getResources, getStoreId, getUser, getUserId, setAccCheck, setCommandContext, setCommandIfName, setCommandStoreId, setDefaultProperties |
Methods inherited from class java.lang.Object |
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final java.lang.String COPYRIGHT
protected java.math.BigDecimal amount
protected java.lang.String bankName
protected java.lang.Long bidId
protected java.lang.Long bidPaymentId
protected java.lang.String cardNumber
protected java.lang.String comment
protected int encryption
protected java.sql.Timestamp expirationDate
protected java.lang.String payMethod
protected BidAccessBean bidAccessBean
protected java.lang.String encryptedPaymentInfo
Constructor Detail |
public RecordAuctionPaymentCmdImpl()
Method Detail |
public java.math.BigDecimal getAmount()
public BidAccessBean getBidAccessBean()
public java.lang.Long getBidId()
public java.lang.Long getBidPaymentId()
public java.lang.String getComment()
public java.lang.String getEncryptedPaymentInfo()
public int getEncryption()
public int getPaymentType()
public boolean isReadyToCallExecute()
public void performExecute() throws ECException
protected void recordPayment() throws java.lang.Exception
public void reset()
public void setActionType(int actionType)
public void setAmount(java.math.BigDecimal amt)
public void setBidAccessBean(BidAccessBean newBidAccessBean)
public void setBidId(java.lang.Long bidid)
public void setComment(java.lang.String newComment)
public void setEncryptedPaymentInfo(java.lang.String aName)
public void setEncryption(int encrypt)
public void setExpirationDate(java.sql.Timestamp aDate)
public void setPaymentType(int paymentType)
public void setPayMethod(java.lang.String aMethod)
public void validateParameters() throws ECException
(C) Copyright IBM Corporation 1996, 2005. All Rights Reserved.