com.ibm.commerce.payment.commands
Interface GetPaymentInfoCmd
- All Superinterfaces:
- AccCommand, ControllerCommand, ECCommand, Protectable
- All Known Implementing Classes:
- GetPaymentInfoCmdImpl
- public interface GetPaymentInfoCmd
- extends ControllerCommand
The GetPaymentInfoCmd Controller Command constructs a string of name-value pairs to be appended as query string to the specified URL. The name-value pairs include payment information for the specified Order from the OrdPayMthd table. The payment information to be included are:
- Card Brand
- Card Number
- Card Expiry Month
- Card Expiry Year
Field Summary |
static java.lang.String |
COPYRIGHT
IBM copyright notice field. |
static java.lang.String |
defaultCommandClassName
The default implementation of this command. |
static java.lang.String |
NAME
The name of this command. |
Method Summary |
void |
setOrderId(java.lang.Long orderId)
Sets the orderId property of the command. |
void |
setUrl(java.lang.String url)
Sets the URL property of the command. |
Methods inherited from interface com.ibm.commerce.command.ControllerCommand |
checkPermission, execute, getGeneric, getRequestProperties, getResolvedRequestProperties, getResponseProperties, getRetriable, getViewInputProperties, isGeneric, isRetriable, mergeProperties, setGeneric, setRequestProperties, setRetriable, setViewInputProperties |
Methods inherited from interface com.ibm.commerce.command.ECCommand |
checkIsAllowed, checkResourcePermission, createCommandExecutionEvent, getCommandContext, getCommandIfName, getCommandName, getCommandStoreId, getDefaultProperties, getResources, getStoreId, getUser, getUserId, performExecute, setCommandContext, setCommandIfName, setCommandStoreId, setDefaultProperties, validateParameters |
COPYRIGHT
public static final java.lang.String COPYRIGHT
- IBM copyright notice field.
- See Also:
- Constant Field Values
NAME
public static final java.lang.String NAME
- The name of this command.
- See Also:
- Constant Field Values
defaultCommandClassName
public static final java.lang.String defaultCommandClassName
- The default implementation of this command.
- See Also:
- Constant Field Values
setOrderId
public void setOrderId(java.lang.Long orderId)
- Sets the orderId property of the command.
-
- Parameters:
- orderId - the order reference number of the Order for which the payment information is to be obtained.
setUrl
public void setUrl(java.lang.String url)
- Sets the URL property of the command.
-
- Parameters:
- url - the URL to redirect to after the command completes its processing. The payment information is to be appended to this URL as additional name-value pairs in the query string.
Feedback
(C) Copyright IBM Corporation 1996, 2005. All Rights Reserved.