|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.ibm.commerce.command.AbstractECCommand | +--com.ibm.commerce.command.TaskCommandImpl | +--com.ibm.commerce.negotiation.commands.RecordAuctionPaymentCmdImpl
RecordAuctionPayment adds a payment record for a bid to bidpayment table.
Field Summary | |
protected java.math.BigDecimal |
amount
|
protected java.lang.String |
bankName
|
protected BidAccessBean |
bidAccessBean
|
protected java.lang.Long |
bidId
|
protected java.lang.Long |
bidPaymentId
|
protected java.lang.String |
cardNumber
|
protected java.lang.String |
comment
|
protected java.lang.String |
encryptedPaymentInfo
|
protected int |
encryption
|
protected java.sql.Timestamp |
expirationDate
|
protected java.lang.String |
payMethod
|
Fields inherited from class com.ibm.commerce.command.AbstractECCommand |
commandContext |
Fields inherited from interface com.ibm.commerce.negotiation.commands.RecordAuctionPaymentCmd |
COPYRIGHT, defaultCommandClassName, NAME |
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 Bid Payment record Id. |
java.lang.String |
getComment()
get 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. |
void |
validateParameters()
Checks for the validity of the incoming parameters. |
Methods inherited from class com.ibm.commerce.command.AbstractECCommand |
accessControlCheck, checkIsAllowed, checkResourcePermission, execute, finalize, getAccCheck, getCommandContext, getCommandIfName, getCommandName, getDefaultProperties, getResources, getStoreId, getUser, getUserId, setAccCheck, setCommandContext, setCommandIfName, setDefaultProperties |
Methods inherited from class java.lang.Object |
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface com.ibm.commerce.command.ECCommand |
checkIsAllowed, checkResourcePermission, execute, getAccCheck, getCommandContext, getCommandIfName, getCommandName, getDefaultProperties, getResources, getStoreId, getUser, getUserId, setAccCheck, setCommandContext, setCommandIfName, setDefaultProperties |
Field Detail |
protected java.math.BigDecimal amount
protected java.lang.String bankName
protected BidAccessBean bidAccessBean
protected java.lang.Long bidId
protected java.lang.Long bidPaymentId
protected java.lang.String cardNumber
protected java.lang.String comment
protected java.lang.String encryptedPaymentInfo
protected int encryption
protected java.sql.Timestamp expirationDate
protected java.lang.String payMethod
Constructor Detail |
public RecordAuctionPaymentCmdImpl()
Method Detail |
public java.math.BigDecimal getAmount()
getAmount
in interface RecordAuctionPaymentCmd
com.ibm.commerce.negotiation.commands.RecordAuctionPaymentCmd
public BidAccessBean getBidAccessBean()
public java.lang.Long getBidId()
getBidId
in interface RecordAuctionPaymentCmd
com.ibm.commerce.negotiation.commands.RecordAuctionPaymentCmd
public java.lang.Long getBidPaymentId()
getBidPaymentId
in interface RecordAuctionPaymentCmd
com.ibm.commerce.negotiation.commands.RecordAuctionPaymentCmd
public java.lang.String getComment()
getComment
in interface RecordAuctionPaymentCmd
com.ibm.commerce.negotiation.commands.RecordAuctionPaymentCmd
public java.lang.String getEncryptedPaymentInfo()
getEncryptedPaymentInfo
in interface RecordAuctionPaymentCmd
public int getEncryption()
getEncryption
in interface RecordAuctionPaymentCmd
com.ibm.commerce.negotiation.commands.RecordAuctionPaymentCmd
public int getPaymentType()
getPaymentType
in interface RecordAuctionPaymentCmd
public boolean isReadyToCallExecute()
isReadyToCallExecute
in class AbstractECCommand
public void performExecute() throws ECException
performExecute
in interface ECCommand
performExecute
in class AbstractECCommand
com.ibm.commerce.command.ECCommand
com.ibm.commerce.command.CommandException
- The superclass for all ECExceptions.protected void recordPayment() throws java.lang.Exception
public void reset()
reset
in class AbstractECCommand
public void setActionType(int actionType)
setActionType
in interface RecordAuctionPaymentCmd
actionType
- int - Create or Update.public void setAmount(java.math.BigDecimal amt)
setAmount
in interface RecordAuctionPaymentCmd
com.ibm.commerce.negotiation.commands.RecordAuctionPaymentCmd
amt
- java.math.BigDecimalpublic void setBidAccessBean(BidAccessBean newBidAccessBean)
newBidAccessBean
- public void setBidId(java.lang.Long bidid)
setBidId
in interface RecordAuctionPaymentCmd
com.ibm.commerce.negotiation.commands.RecordAuctionPaymentCmd
bidid
- java.lang.Longpublic void setComment(java.lang.String newComment)
setComment
in interface RecordAuctionPaymentCmd
newComment
- public void setEncryptedPaymentInfo(java.lang.String aName)
setEncryptedPaymentInfo
in interface RecordAuctionPaymentCmd
aName
- java.lang.Stringpublic void setEncryption(int encrypt)
setEncryption
in interface RecordAuctionPaymentCmd
com.ibm.commerce.negotiation.commands.RecordAuctionPaymentCmd
encrypt
- intpublic void setExpirationDate(java.sql.Timestamp aDate)
public void setPaymentType(int paymentType)
setPaymentType
in interface RecordAuctionPaymentCmd
paymentType
- public void setPayMethod(java.lang.String aMethod)
public void validateParameters() throws ECException
validateParameters
in interface ECCommand
validateParameters
in class AbstractECCommand
ECApplicationException
- The exception description.
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |