public class RecordAuctionPaymentCmdImpl extends TaskCommandImpl implements RecordAuctionPaymentCmd
Modifier and Type | Field and Description |
---|---|
protected java.math.BigDecimal | amount |
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
IBM copyright notice field.
|
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.
|
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.
|
protected void | recordPayment()
Creates or updates a payment record.
|
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.
|
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
public RecordAuctionPaymentCmdImpl()
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