com.ibm.commerce.edp.commands

Class AEDPPIEditCtrlCmdImpl

    • Field Detail

      • COPYRIGHT

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

        public static final java.lang.String BILLING_ADDRESS_ID_PROPERTY_NAME
        The keyword identifier for the billing address in the address book.
        See Also:
        Constant Field Values
      • EDP_EDIT_FORCEFLAG

        public static final java.lang.String EDP_EDIT_FORCEFLAG
        Request parameter to indicate if the edit is 'forced' or not.
        See Also:
        Constant Field Values
      • PURCHASEORDER_ID_PROPERTY_NAME

        public static final java.lang.String PURCHASEORDER_ID_PROPERTY_NAME
        The protocol data keyword identifier for a purchase order ID.
        See Also:
        Constant Field Values
      • POLICY_ID

        public static final java.lang.String POLICY_ID
        the policy id for payment instruction
        See Also:
        Constant Field Values
    • Constructor Detail

      • AEDPPIEditCtrlCmdImpl

        public AEDPPIEditCtrlCmdImpl()
    • Method Detail

      • setAmount

        public void setAmount(java.math.BigDecimal piAmount)
        This method sets the amount of current payment instruction.
        Parameters:
        piAmount - the amount of current payment instruction
      • getAmount

        public java.math.BigDecimal getAmount()
        This method returns the amount of current payment instruction.
        Returns:
        the amount of current payment instruction
      • setPaymentMethodID

        public void setPaymentMethodID(java.lang.String localPaymentMethod)
        This method sets the payment method of current payment instruction.
        Parameters:
        localPaymentMethod - the payment method of current payment instruction
      • getPaymentMethodID

        public java.lang.String getPaymentMethodID()
        This method returns the payment method of current payment instruction.
        Returns:
        the payment method of current payment instruction
      • getPiIdNull

        public java.lang.String getPiIdNull()
        This method returns the internal representation for a null payment instruction identifier.
        Returns:
        the internal representation for a null payment instruction identifier
      • setProtocolData

        public void setProtocolData(java.util.HashMap localProtocalData)
        This method sets the protocol data of current payment instruction.
        Parameters:
        localProtocalData - the protocol data of current payment instruction
      • getProtocolData

        public java.util.HashMap getProtocolData()
        This method returns the protocol data of current payment instruction.
        Returns:
        the protocol data of current payment instruction
      • getPolicyId

        public java.lang.Long getPolicyId()
        This method returns the payment policy identifier of current payment instruction.
        Returns:
        the payment policy identifier of current payment instruction
      • setPolicyId

        public void setPolicyId(java.lang.Long long1)
        This method sets the payment policy identifier of current payment instruction.
        Parameters:
        long1 - the payment policy identifier of current payment instruction
      • setURL

        public void setURL(java.lang.String localRedirectionURL)
        This method sets the redirection URL to be used when the command completes successfully.
        Parameters:
        localRedirectionURL - the redirection URL to be used when the command completes successfully
      • getURL

        public java.lang.String getURL()
        This method gets the redirection URL to be used when the command completes successfully
        Returns:
        the redirection URL to be used when the command completes successfully
      • reset

        public void reset()

        This method resets the command fields.

        After this method is invoked, and proper attributes are set, the command can be executed again.

        Specified by:
        reset in interface com.ibm.websphere.command.Command
        Overrides:
        reset in class AEDPCtrlCmdImpl