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, setDefaultProperties
executeFromCache, getCaller, getEntryInfo, getId, getSharingPolicy, postExecute, preExecute, setCaller, setObjectSize, unionDependencies, updateCache
getCommandTarget, getCommandTargetName, getTargetPolicy, hasOutputProperties, setCommandTarget, setCommandTargetName, setHasOutputProperties, setOutputProperties, setTargetPolicy
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
executeFromCache, getCaller, getEntryInfo, getId, getSharingPolicy, postExecute, preExecute, setCaller, updateCache
getCommandTarget, getCommandTargetName, hasOutputProperties, setCommandTarget, setCommandTargetName, setOutputProperties
checkIsAllowed, checkResourcePermission, createCommandExecutionEvent, getAccCheck, getCommandContext, getCommandIfName, getCommandName, getCommandStoreId, getDefaultProperties, getExceptionInvokeParameters, getPostInvokeParameters, getPreInvokeParameters, getResources, getStoreId, getUser, getUserId, setAccCheck, setCommandContext, setCommandIfName, setCommandStoreId, setDefaultProperties
public static final java.lang.String COPYRIGHT
public RecordAuctionPaymentCmdImpl()
public java.math.BigDecimal getAmount()
getAmount
in interface RecordAuctionPaymentCmd
public BidAccessBean getBidAccessBean()
public java.lang.Long getBidId()
getBidId
in interface RecordAuctionPaymentCmd
public java.lang.Long getBidPaymentId()
getBidPaymentId
in interface RecordAuctionPaymentCmd
public java.lang.String getComment()
getComment
in interface RecordAuctionPaymentCmd
public java.lang.String getEncryptedPaymentInfo()
getEncryptedPaymentInfo
in interface RecordAuctionPaymentCmd
public int getEncryption()
getEncryption
in interface RecordAuctionPaymentCmd
public int getPaymentType()
getPaymentType
in interface RecordAuctionPaymentCmd
public boolean isReadyToCallExecute()
isReadyToCallExecute
in interface com.ibm.websphere.command.Command
isReadyToCallExecute
in class AbstractECTargetableCommand
public void performExecute() throws ECException
performExecute
in interface ECCommand
performExecute
in interface com.ibm.websphere.command.TargetableCommand
performExecute
in class AbstractECTargetableCommand
ECApplicationException
- is raised with a generic application error when there is a problem recording the payment.ECException
public void reset()
reset
in interface com.ibm.websphere.command.Command
reset
in class AbstractECTargetableCommand
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
amt
- The pay amount.public void setBidAccessBean(BidAccessBean newBidAccessBean)
newBidAccessBean
- public void setBidId(java.lang.Long bidid)
setBidId
in interface RecordAuctionPaymentCmd
bidid
- The bid ID.public 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
encrypt
- 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 RecordAuctionPaymentCmd
paymentType
- 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 ECCommand
validateParameters
in class AbstractECTargetableCommand
ECApplicationException
- The exception description.ECException