public interface ValidatePaymentMethodCmd extends TaskCommand
API | Description | setOrderId(Long orderId) | This method is mandatory, specifying the order on which the payment method will be validate. | setPolicyId(Long policyId) | This method is mandatory, specifying the payment policy ID of the payment method to be validate. |
API | Description | boolean isValidatePaymentMethod() | This method will return a boolean value to indicate that whether the passed policyId or paymentMethodId is valid for the given orderId. |
Modifier and Type | Field and Description |
---|---|
static java.lang.String | COPYRIGHT
IBM Copyright note field.
|
static java.lang.String | defaultCommandClassName
The default implementation of this command.
|
static java.lang.String | NAME
The name of this command.
|
Modifier and Type | Method and Description |
---|---|
void | setErrorViewName(java.lang.String errorViewName)
This method sets the error view name.
|
void | setOrderId(java.lang.Long orderId)
This method is mandatory, specifying the order on which the payment method will be validate.
|
void | setPolicyId(java.lang.Long policyId)
This method is mandatory, specifying the policy ID of the payment method to be validate.
|
static final java.lang.String COPYRIGHT
static final java.lang.String NAME
static final java.lang.String defaultCommandClassName
void setOrderId(java.lang.Long orderId)
void setPolicyId(java.lang.Long policyId)
void setErrorViewName(java.lang.String errorViewName)