com.ibm.commerce.negotiation.commands
Interface RecordAuctionPaymentCmd

All Superinterfaces:
ECCommand, TaskCommand
All Known Subinterfaces:
DoDepositPaymentCmd
All Known Implementing Classes:
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
           
static java.lang.String defaultCommandClassName
           
static java.lang.String NAME
           
 
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.
 
Methods inherited from interface com.ibm.commerce.command.ECCommand
checkIsAllowed, checkResourcePermission, execute, getAccCheck, getCommandContext, getCommandIfName, getCommandName, getDefaultProperties, getResources, getStoreId, getUser, getUserId, performExecute, setAccCheck, setCommandContext, setCommandIfName, setDefaultProperties, validateParameters
 

Field Detail

COPYRIGHT

public static final java.lang.String COPYRIGHT

defaultCommandClassName

public static final java.lang.String defaultCommandClassName

NAME

public static final java.lang.String NAME
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