com.ibm.commerce.negotiation.commands
Interface RecordAuctionPaymentCmd

All Superinterfaces:
TaskCommand
All Known Subinterfaces:
DoDepositPaymentCmd
All Known Implementing Classes:
DoDepositPaymentCmdImpl, RecordAuctionPaymentCmdImpl

public interface RecordAuctionPaymentCmd
extends TaskCommand

Command interface to record payment information for a bid on an auction.


Field Summary
static java.lang.String COPYRIGHT
          Copyright statement.
static java.lang.String defaultCommandClassName
          The default implementation class name.
static java.lang.String NAME
          The full class name for this interface file.
 
Method Summary
 java.math.BigDecimal getAmount()
          Returns the bid amount.
 java.lang.Long getBidId()
          Returns the identifier for the bid.
 java.lang.Long getBidPaymentId()
          Returns the payment identifier for the bid.
 java.lang.String getComment()
          Returns the comment.
 java.lang.String getEncryptedPaymentInfo()
          Returns encrypted payment information.
 int getEncryption()
          Returns the value of the encryption flag.
 int getPaymentType()
          Returns the payment type.
 void setActionType(int actionType)
          Set the payment action type for Updating an existing payment record or creating a new one.
 void setAmount(java.math.BigDecimal amt)
          Stores the incoming bid amount.
 void setBidId(java.lang.Long bidid)
          Stores the incoming bid identifier.
 void setComment(java.lang.String newComment)
          Stores the incoming comment.
 void setEncryptedPaymentInfo(java.lang.String aName)
          Stores the incoming value for the encrypted payment information.
 void setEncryption(int encrypt)
          Stores the incoming value of the encryption flag.
 void setPaymentType(int aType)           Stores the incoming payment type.
 

Field Detail
public static final java.lang.String COPYRIGHT
Copyright statement.
See Also:
Constant Field Values

NAME

public static final java.lang.String NAME
The full class name for this interface file.
See Also:
Constant Field Values

defaultCommandClassName

public static final java.lang.String defaultCommandClassName
The default implementation class name. This is used if there is no record found in the CMDREG table.
See Also:
Constant Field Values
Method Detail

getAmount

public java.math.BigDecimal getAmount()
Returns the bid amount.
Returns:
java.math.BigDecimal

getBidId

public java.lang.Long getBidId()
Returns the identifier for the bid.
Returns:
java.lang.Long

getBidPaymentId

public java.lang.Long getBidPaymentId()
Returns the payment identifier for the bid.
Returns:
java.lang.Long

getComment

public java.lang.String getComment()
Returns the comment.
Returns:
java.lang.String

getEncryptedPaymentInfo

public java.lang.String getEncryptedPaymentInfo()
Returns encrypted payment information.
Returns:
java.lang.String

getEncryption

public int getEncryption()
Returns the value of the encryption flag.
Returns:
int

getPaymentType

public int getPaymentType()
Returns the payment type.
Returns:
int

setActionType

public void setActionType(int actionType)
Set the payment action type for Updating an existing payment record or creating a new one.
Parameters:
actionType - int - Create or Update.

setAmount

public void setAmount(java.math.BigDecimal amt)
Stores the incoming bid amount.
Parameters:
amt - java.math.BigDecimal

setBidId

public void setBidId(java.lang.Long bidid)
Stores the incoming bid identifier.
Parameters:
bidid - java.lang.Long

setComment

public void setComment(java.lang.String newComment)
Stores the incoming comment.
Parameters:
newComment - java.lang.String

setEncryptedPaymentInfo

public void setEncryptedPaymentInfo(java.lang.String aName)
Stores the incoming value for the encrypted payment information.
Parameters:
aName - java.lang.String

setEncryption

public void setEncryption(int encrypt)
Stores the incoming value of the encryption flag.
Parameters:
encrypt - int

setPaymentType

public void setPaymentType(int aType)
Stores the incoming payment type.
Parameters:
aType - int