com.ibm.commerce.payment.actions.commands

Interface QueryPaymentsInfoPolicyCmd

  • 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:
    QueryPaymentsInfoCompatiblePolicyCmdImpl, QueryPaymentsInfoPolicyCmdImpl


    public interface QueryPaymentsInfoPolicyCmd
    extends BusinessPolicyCommand
    The QueryPaymentsInfoPolicyCmd Policy Command.

    This command is called to query the payment information in payment processing component. When the payment rules component wants to get the up to date backend payment information, it calls this command by QueryHandler.

    • 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
    • Method Detail

      • setPaymentActionData

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

        void setRefundActionData(RefundActionData datas)
        This method sets the refund action data. datas The refund action data
        Parameters:
        datas -
      • getRefundActionData

        RefundActionData getRefundActionData()
        This method gets the refund action data.
        Returns:
        RefundActionData The refund action data
      • getBackendPaymentInstruction

        PaymentInstruction getBackendPaymentInstruction()
        This method gets the backend payment instruction.
        Returns:
        PaymentInstruction The backend payment instruction
      • getPaymentDataAnalyzer

        PaymentDataAnalyzer getPaymentDataAnalyzer()
        This method gets the object of PaymentDataAnalyzer as a container of backend payment information.
        Returns:
        PaymentDataAnalyzer the container of backend payment information
      • getActionResults

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

        boolean isOrderEditable()
        This method gets if the order is editable.
        Returns:
        boolean If order is editable
      • getErrorDetail

        java.lang.String getErrorDetail()
        This method gets the detail information when error occurs.
        Returns:
        errorDetail The detail information when error occurs.
      • setLocale

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

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

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

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