com.ibm.commerce.payment.actions.commands

Interface EditPaymentInstructionPolicyCmd

  • All Superinterfaces:
    BusinessPolicyCommand, com.ibm.websphere.command.CacheableCommand, com.ibm.commerce.command.CacheableECCommand, com.ibm.websphere.command.Command, com.ibm.websphere.command.CommandCaller, ECCommand, java.io.Serializable, com.ibm.websphere.command.TargetableCommand, TaskCommand
    All Known Implementing Classes:
    EditPaymentInstructionCompatiblePolicyCmdImpl, EditPaymentInstructionPolicyCmdImpl


    public interface EditPaymentInstructionPolicyCmd
    extends BusinessPolicyCommand
    The EditPaymentInstructionPolicyCmd Policy Command.

    This command is called to perform payment instruction edit action in payment processing component. When payment rules component tries to create/update/cancel a payment instruction, besides it edits the payment instruction in payment rules related table. It then calls this command to edit the payment instruction in payment processing related tables that store payment information. If the new payment processing component is used, then the corresponding records in payment processing component related tables are edited. While if the classical payments is used, then the corresponding records in the table ORDPAYMTHD and ORDPAYINFO are edited.

    • Field Detail

      • COPYRIGHT

        static final java.lang.String COPYRIGHT
        IBM copyright notice field.
        See Also:
        Constant Field Values
      • defaultCommandClassName

        static final java.lang.String defaultCommandClassName
        The default implementation of this command.
        See Also:
        Constant Field Values
      • ERRTASK_NAME

        static final java.lang.String ERRTASK_NAME
        Name of the Error View for this command. The constant value of this field is "DoPaymentErrorView".
        See Also:
        Constant Field Values
      • ERR_CODE_BAD_XDATE

        static final java.lang.String ERR_CODE_BAD_XDATE
        Error code indicating invalid expiry date. The constant value of this field is "1006".
        See Also:
        Constant Field Values
    • Method Detail

      • setPaymentActionData

        void setPaymentActionData(PaymentActionData datas)
        This method sets the payment action data. datas The payment action data
        Parameters:
        datas -
      • getActionResults

        ActionResults getActionResults()
        This method gets the result of the query action.
        Returns:
        ActionResults The result of the query action.
      • setLocale

        void setLocale(java.util.Locale locale)
        This method sets the current locale.
        Parameters:
        locale - The value of the locale.
      • setOrderChannel

        void setOrderChannel(java.lang.String string)
        This method sets the current order channel.
        Parameters:
        string - The value of the order channel.
      • setPaymentGroupId

        void setPaymentGroupId(java.lang.String string)
        This method sets the current payment group ID.
        Parameters:
        string - The value of the payment group ID.
      • setStoreId

        void setStoreId(java.lang.Integer integer)
        This method sets the current store ID.
        Parameters:
        integer - The value of the store ID.