com.ibm.commerce.edp.commands

Interface PIEditCmd

    • Field Detail

      • COPYRIGHT

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

        static final java.lang.String defaultCommandClassName
        The default implementation class name is "com.ibm.commerce.edp.commands.PIEditCmdImpl".
        See Also:
        Constant Field Values
      • PAYMENT_INSTRUCTION_ERROR_VIEW

        static final java.lang.String PAYMENT_INSTRUCTION_ERROR_VIEW
        The default Payment Instruction Error View
        See Also:
        Constant Field Values
    • Method Detail

      • setForcedPaymentInstructionChangeFlag

        void setForcedPaymentInstructionChangeFlag(boolean forcedChange)

        This method sets the forced flag indicating if the payment instruction edit operation will be forced or not.

        It is up to the caller to set the forceFlag whether they want to do a forced payment instruction edit operation or not.

        Parameters:
        forcedChange - indicates if the request is forced or not
      • setPIId

        void setPIId(java.lang.Long aPIId)
        This method sets the payment instruction ID.
        Parameters:
        aPIId - the payment instruction ID
      • setProtocolData

        void setProtocolData(java.util.HashMap protocalData)
        This method sets the protocol data of the payment instruction.
        Parameters:
        protocalData - the protocol data of the payment instruction
      • setURL

        void setURL(java.lang.String astrUrl)
        This method sets the redirection URL to be called when the command completes successfully.
        Parameters:
        astrUrl - the redirection URL
      • setPaymentDataEditable

        void setPaymentDataEditable(boolean paymentDataEditable)
        This method sets the payment data editable flag indicating if the payment data is dirty or not. True by default.
        Parameters:
        paymentDataEditable - indicates if the payment data is dirty or not
      • setAmountEditable

        void setAmountEditable(boolean amountEditable)
        This method sets the amount editable flag indicating if the amount is dirty or not. True by default.
        Parameters:
        amountEditable - indicates if the amount is dirty or not