com.ibm.commerce.edp.commands

Interface PIAddCmd

    • 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: "com.ibm.commerce.edp.commands.PIAddCmdImpl".
        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

      • setAmount

        void setAmount(java.math.BigDecimal amount)
        This method sets the payment instruction amount.
        Parameters:
        amount - the payment instruction amount
      • setPaymentMethodID

        void setPaymentMethodID(java.lang.String paymentMethod)
        This method sets the payment method of the new payment instruction.
        Parameters:
        paymentMethod - the payment method of the new payment instruction
      • setProtocolData

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

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

        java.lang.Long getAddedPaymentInstructionId()
        This method returns the id of the added payment instruction
        Returns:
        a long that specify the id of the new payment instruction