public class PrimePaymentVoidCmdImpl extends AEDPStoreTaskCmdImpl implements PrimePaymentCmd
Modifier and Type | Field and Description |
---|---|
static java.lang.String | COPYRIGHT
The IBM Copyright notice field.
|
Constructor and Description |
---|
PrimePaymentVoidCmdImpl() |
Modifier and Type | Method and Description |
---|---|
AccountAccessBean | getAccount()
This method returns the AccountAccessBean representing the account if an account ID is present.
|
java.lang.Long | getAccountId()
This method returns the common account ID if one is specified by the trading agreements used by the order items of the order being processed.
|
java.lang.Long | getBuyerPOId()
This method returns the internal ID of the BuyerPO record if a buyer purchase order number is specified.
|
java.lang.String | getEDPWarning()
This method returns the payment rule warning information.
|
java.util.Map | getErrorMessageMap()
This method returns the map containing error message of each Payment Instruction.
|
java.math.BigDecimal | getInitialAmount()
This method returns the initial amount.
|
OrderAccessBean | getOrderAccessBean()
This method returns a reference to the order access bean.
|
TypedProperty | getPaymentAttributes()
This method returns the payment attributes, which are sometimes referred to as payment protocol data.
|
java.lang.String | getPaymentMethodId()
This method returns the payment method ID to be used for the payment of the order.
|
java.lang.String | getPONumber()
This method returns the PONumber attribute passed to the command by the caller.
|
java.math.BigDecimal | getTotalAmount()
This method returns the total order amount.
|
boolean | isReadyToCallExecute()
This method is called by the Command Framework to check if all basic mandatory parameters have been set for this command.
|
void | performExecute()
This method executes the business logic of this command implementation.
|
void | reset()
This method resets the command fields.
|
void | setAccountId(java.lang.Long n)
This method sets the account ID.
|
void | setBuyerPOId(java.lang.Long n)
This method sets the BuyerPO ID.
|
void | setEDPWarning(java.lang.String warning)
This method sets the payment rule warning information.
|
void | setInitialAmount(java.math.BigDecimal initialAmount)
This method sets the initial amount.
|
void | setOrderAccessBean(OrderAccessBean abOrder)
This method sets a reference to the order access bean.
|
void | setPaymentAttributes(TypedProperty paymentAttributes)
This method sets the paymentAttributes property of the command.
|
void | setPaymentMethodId(java.lang.String nPayMthdId)
This method sets the payment method ID to be used with the payments rules subcomponent.
|
protected void | setPONumber(java.lang.String sPONumber)
This method sets the purchase order number.
|
void | setTotalAmount(java.math.BigDecimal totalAmount)
This method sets the total order amount.
|
void | validateParameters()
This method extracts and validates the input parameters of this command implementation.
|
public static final java.lang.String COPYRIGHT
public AccountAccessBean getAccount()
This method returns the AccountAccessBean representing the account if an account ID is present.
If no account ID is set, null is returned.
This method will first check if the local variable iabAccount is set. If not, it will attempt to retrieve the AccountAccessBean using the specified account ID.
public void setAccountId(java.lang.Long n)
public java.lang.Long getAccountId()
public void setBuyerPOId(java.lang.Long n)
public java.lang.Long getBuyerPOId()
public void setEDPWarning(java.lang.String warning)
public java.lang.String getEDPWarning()
public void setInitialAmount(java.math.BigDecimal initialAmount)
public java.math.BigDecimal getInitialAmount()
public void setOrderAccessBean(OrderAccessBean abOrder)
public OrderAccessBean getOrderAccessBean()
public java.lang.String getPONumber()
public void setPaymentAttributes(TypedProperty paymentAttributes)
public TypedProperty getPaymentAttributes()
public void setPaymentMethodId(java.lang.String nPayMthdId)
This method sets the payment method ID to be used with the payments rules subcomponent.
This method is to be used when there is only a single payment method for the entire order.
public java.lang.String getPaymentMethodId()
public boolean isReadyToCallExecute()
public void setTotalAmount(java.math.BigDecimal totalAmount)
public java.math.BigDecimal getTotalAmount()
public void performExecute() throws ECException
public void reset()
This method resets the command fields.
After this method is invoked, and proper attributes are set, the command can be executed again.
public void validateParameters() throws ECException
protected void setPONumber(java.lang.String sPONumber)
public java.util.Map getErrorMessageMap()