Class AuthorizeAccountPaymentCmdImpl

  • All Implemented Interfaces:, ECCommand, ECTargetableCommand, TaskCommand, AuthorizeAccountPaymentCmd,,,,,,

    public class AuthorizeAccountPaymentCmdImpl
    extends TaskCommandImpl
    implements AuthorizeAccountPaymentCmd
    This AuthorizeAccountPaymentCmdImpl Task Command implementation class is called to authorize the payment against the customer account through an external accounting system.

    This implementation class is empty. It is intended for third-parties to extend and write implementation code for integration with an external accounting system.

    See Also:
    Serialized Form
    • Constructor Detail

      • AuthorizeAccountPaymentCmdImpl

        public AuthorizeAccountPaymentCmdImpl()
    • Method Detail

      • reset

        public void reset()
        Resets the instance variables of the command. The reset() method will reset all instance variables. If the command includes any output values that are accessible via getters. Then make sure those values are no longer needed before calling this method to reset the instance variables of the command.

        This is useful if the command instance is to be called multiple times with different command parameters.

        Specified by:
        reset in interface
        reset in class AbstractECTargetableCommand
      • setBuyerPONumber

        public void setBuyerPONumber(java.lang.String sBPONumber)
        Sets the buyerPONumber property of the command.

        If no purchase order number is specified, this method should not be called.

        Specified by:
        setBuyerPONumber in interface AuthorizeAccountPaymentCmd
        sBPONumber - the buyer purchase order number specified by the customer for the purchase
      • setBuyerPOId

        public void setBuyerPOId(java.lang.Long n)
        Deprecated. replaced by setBuyerPONumber(String)
        Sets the buyerPO ID. This is the internal ID of the BuyerPO record associated with the purchase order number specified by the buyer. If no purchase order number is specified, this method should not be called.
        Specified by:
        setBuyerPOId in interface AuthorizeAccountPaymentCmd
        n - the buyerPO ID
      • setTotalAmount

        public void setTotalAmount(java.math.BigDecimal totalAmount)
        Sets the totalAmount property of the command. This amount is in the currency of the order.
        Specified by:
        setTotalAmount in interface AuthorizeAccountPaymentCmd
        totalAmount - the total amount to be authorized.