public class DoPaymentCLCmdImpl extends BusinessPolicyCommandImpl implements DoPaymentPolicyCmd
Parameter Name | Type | Descriptions |
abOrder | OrderAccessBean | The Order ID of the Order |
bdTotalAmount | BigDecimal | The Total Amount to be authorized |
nPolicyId | Long | The ID of the Payment Policy to use for the Purchase. |
nBuyerPOId | Long | Optional buyerPOId |
errorViewName | String | Optional error view name passed in by the Caller. |
Constructor and Description |
---|
DoPaymentCLCmdImpl()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
protected AccountAccessBean | getAccount()
Deprecated.
Returns the AccountAccessBean representing the Account associated with the order.
|
protected java.lang.Long | getAccountId()
Deprecated.
Returns the account ID of the Account associated with the order.
|
protected java.lang.Long | getBuyerPOId()
Deprecated.
Returns the internal ID of the BuyerPO record if a buyer purchase order number is specified.
|
java.lang.String | getContentType()
Deprecated.
Returns the Content Type (or MIME type) of the return data, or null if the type is not known.
|
protected java.lang.Long | getCreditLineId()
Deprecated.
Returns the internal ID of the CreditLine record representing the credit line the account holder (buyer organization) has with the seller.
|
protected java.lang.String | getErrorViewName()
Deprecated.
Returns the name of the error view to use for reporting error.
|
protected OrderAccessBean | getOrder()
Deprecated.
Returns the OrderAccessBean representing the order being processed.
|
java.lang.String | getOrderState()
Deprecated.
Returns the single character String value that the called command wants the Calling command to use to set the Status of the order.
|
protected TypedProperty | getPaymentAttributes()
Deprecated.
Returns the TypedProperty object containing the payment attributes passed to this command by the calling command.
|
byte[] | getReturnData()
Deprecated.
Returns the byte Array containing Return Data from the Payment System.
|
protected java.math.BigDecimal | getTotalAmount()
Deprecated.
Returns the total order amount passed to the command by the caller.
|
boolean | isReadyToCallExecute()
Deprecated.
This method is called by the Command Framework to check if all basic mandatory parameters have been set for this command.
|
void | performExecute()
Deprecated.
Performs the main business logic of the command.
|
void | reset()
Deprecated.
Resets the instance variables of the command.
|
void | setAccount(AccountAccessBean abAccount)
Deprecated.
Sets the account property of the command.
|
void | setBuyerPOId(java.lang.Long n)
Deprecated.
Sets the optional buyerPOId if the customer (buyer) had specified a buyer purchase order number.
|
protected void | setCreditLineId(java.lang.Long n)
Deprecated.
Sets the internal ID of the CreditLine record representing the credit line the account holder (buyer organization) has with the seller.
|
void | setErrorViewName(java.lang.String sEVN)
Deprecated.
Sets the error view to be used to report error.
|
void | setOrder(OrderAccessBean ab)
Deprecated.
Sets the order property of the command.
|
void | setOrderState(java.lang.String s)
Deprecated.
Sets the order state to be returned to the caller.
|
void | setPaymentAttributes(TypedProperty paymentAttributes)
Deprecated.
Sets the paymentAttributes property of the command.
|
void | setTotalAmount(java.math.BigDecimal totalAmount)
Deprecated.
Sets the totalAmount property of the command.
|
protected void | updateOrderPaymentMethod()
Deprecated.
This is called by performExecute to update the ORDPAYMTHD table.
|
protected AccountAccessBean getAccount()
protected java.lang.Long getAccountId() throws javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException, java.rmi.RemoteException
protected java.lang.Long getBuyerPOId()
public java.lang.String getContentType()
protected java.lang.Long getCreditLineId()
protected java.lang.String getErrorViewName()
protected OrderAccessBean getOrder()
public java.lang.String getOrderState()
protected TypedProperty getPaymentAttributes()
public byte[] getReturnData()
protected java.math.BigDecimal getTotalAmount()
public boolean isReadyToCallExecute()
public void performExecute() throws ECException
public void reset()
This is useful if the command instance is to be called multiple times with different command parameters.
public void setAccount(AccountAccessBean abAccount)
public void setBuyerPOId(java.lang.Long n)
protected void setCreditLineId(java.lang.Long n)
public void setErrorViewName(java.lang.String sEVN)
public void setOrder(OrderAccessBean ab)
public void setOrderState(java.lang.String s)
public void setPaymentAttributes(TypedProperty paymentAttributes)
public void setTotalAmount(java.math.BigDecimal totalAmount)
protected void updateOrderPaymentMethod() throws javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException, java.rmi.RemoteException