public class RecordAuctionPaymentCmdImpl extends TaskCommandImpl implements RecordAuctionPaymentCmd
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
COPYRIGHT
IBM copyright notice field.
|
defaultCommandClassName, NAME| Constructor and Description |
|---|
RecordAuctionPaymentCmdImpl()
RecordAuctionPaymentCmdImpl default constructor.
|
| Modifier and Type | Method and Description |
|---|---|
java.math.BigDecimal |
getAmount()
Gets Amount .
|
BidAccessBean |
getBidAccessBean()
Returns the access bean representing the bid.
|
java.lang.Long |
getBidId()
Gets bid ID.
|
java.lang.Long |
getBidPaymentId()
Gets the bid payment record ID.
|
java.lang.String |
getComment()
Gets comment.
|
java.lang.String |
getEncryptedPaymentInfo()
Returns encrypted payment info string.
|
int |
getEncryption()
Gets encryption .
|
int |
getPaymentType()
Gets the payment type value.
|
boolean |
isReadyToCallExecute()
Is the command ready to be executed.
|
void |
performExecute()
Execute the command.
|
void |
reset()
Resets the command parameters.
|
void |
setActionType(int actionType)
Sets the payment action types for update an existing payment or create a
new one.
|
void |
setAmount(java.math.BigDecimal amt)
Sets the pay amount.
|
void |
setBidAccessBean(BidAccessBean newBidAccessBean)
Stores the incoming access bean representing the bid.
|
void |
setBidId(java.lang.Long bidid)
Sets bid ID.
|
void |
setComment(java.lang.String newComment)
Sets the Comment.
|
void |
setEncryptedPaymentInfo(java.lang.String aName)
Sets encrypted payment string.
|
void |
setEncryption(int encrypt)
Sets encryption.
|
void |
setExpirationDate(java.sql.Timestamp aDate)
Sets the expiration date.
|
void |
setPaymentType(int paymentType)
Sets the payment type value.
|
void |
setPayMethod(java.lang.String aMethod)
Sets payment method (for example, Visa, MasterCard, and so forth.).
|
void |
validateParameters()
Checks for the validity of the incoming parameters.
|
accessControlCheck, checkIsAllowed, checkResourcePermission, createCommandExecutionEvent, execute, getAccCheck, getCommandContext, getCommandIfName, getCommandName, getCommandStoreId, getDefaultProperties, getExceptionInvokeParameters, getObjectSize, getPostInvokeParameters, getPreInvokeParameters, getResources, getStoreId, getUser, getUserId, setAccCheck, setCommandContext, setCommandIfName, setCommandStoreId, setDefaultPropertiesexecuteFromCache, getCaller, getEntryInfo, getId, getSharingPolicy, postExecute, preExecute, setCaller, setObjectSize, unionDependencies, updateCachegetCommandTarget, getCommandTargetName, getTargetPolicy, hasOutputProperties, setCommandTarget, setCommandTargetName, setHasOutputProperties, setOutputProperties, setTargetPolicyequals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitexecuteFromCache, getCaller, getEntryInfo, getId, getSharingPolicy, postExecute, preExecute, setCaller, updateCachegetCommandTarget, getCommandTargetName, hasOutputProperties, setCommandTarget, setCommandTargetName, setOutputPropertiescheckIsAllowed, checkResourcePermission, createCommandExecutionEvent, getAccCheck, getCommandContext, getCommandIfName, getCommandName, getCommandStoreId, getDefaultProperties, getExceptionInvokeParameters, getPostInvokeParameters, getPreInvokeParameters, getResources, getStoreId, getUser, getUserId, setAccCheck, setCommandContext, setCommandIfName, setCommandStoreId, setDefaultPropertiespublic static final java.lang.String COPYRIGHT
public RecordAuctionPaymentCmdImpl()
public java.math.BigDecimal getAmount()
getAmount in interface RecordAuctionPaymentCmdpublic BidAccessBean getBidAccessBean()
public java.lang.Long getBidId()
getBidId in interface RecordAuctionPaymentCmdpublic java.lang.Long getBidPaymentId()
getBidPaymentId in interface RecordAuctionPaymentCmdpublic java.lang.String getComment()
getComment in interface RecordAuctionPaymentCmdpublic java.lang.String getEncryptedPaymentInfo()
getEncryptedPaymentInfo in interface RecordAuctionPaymentCmdpublic int getEncryption()
getEncryption in interface RecordAuctionPaymentCmdpublic int getPaymentType()
getPaymentType in interface RecordAuctionPaymentCmdpublic boolean isReadyToCallExecute()
isReadyToCallExecute in interface com.ibm.websphere.command.CommandisReadyToCallExecute in class AbstractECTargetableCommandpublic void performExecute()
throws ECException
performExecute in interface ECCommandperformExecute in interface com.ibm.websphere.command.TargetableCommandperformExecute in class AbstractECTargetableCommandECApplicationException - is raised with a generic application error when there is a problem recording the payment.ECExceptionpublic void reset()
reset in interface com.ibm.websphere.command.Commandreset in class AbstractECTargetableCommandpublic void setActionType(int actionType)
setActionType in interface RecordAuctionPaymentCmdactionType - int - Create or Update.public void setAmount(java.math.BigDecimal amt)
setAmount in interface RecordAuctionPaymentCmdamt - The pay amount.public void setBidAccessBean(BidAccessBean newBidAccessBean)
newBidAccessBean - public void setBidId(java.lang.Long bidid)
setBidId in interface RecordAuctionPaymentCmdbidid - The bid ID.public void setComment(java.lang.String newComment)
setComment in interface RecordAuctionPaymentCmdnewComment - public void setEncryptedPaymentInfo(java.lang.String aName)
setEncryptedPaymentInfo in interface RecordAuctionPaymentCmdaName - java.lang.Stringpublic void setEncryption(int encrypt)
setEncryption in interface RecordAuctionPaymentCmdencrypt - The encryption, 1 for encryption, 0 for no-encryption.public void setExpirationDate(java.sql.Timestamp aDate)
aData - The expiration date.public void setPaymentType(int paymentType)
setPaymentType in interface RecordAuctionPaymentCmdpaymentType - public void setPayMethod(java.lang.String aMethod)
aMethod - The payment method (for example, Visa, MasterCard, and so forth.).public void validateParameters()
throws ECException
validateParameters in interface ECCommandvalidateParameters in class AbstractECTargetableCommandECApplicationException - The exception description.ECException