com.ibm.commerce.order.commands

Interface OrderProfileUpdateCmd

  • All Superinterfaces:
    AccCommand, com.ibm.websphere.command.CacheableCommand, com.ibm.websphere.command.Command, com.ibm.websphere.command.CommandCaller, ControllerCommand, ECCommand, Protectable, java.io.Serializable, com.ibm.websphere.command.TargetableCommand
    All Known Implementing Classes:
    OrderProfileUpdateCmdImpl


    public interface OrderProfileUpdateCmd
    extends ControllerCommand
    This Order controller command is used to create or update customer's default billing and shipping addresses, shipping mode and payment information. The default implementation of this command is OrderProfileUpdateCmdImpl. The OrderProfileUpdate URL is mapped to this command by default.
    • Field Detail

      • COPYRIGHT

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

        static final java.lang.String NAME
        The full name of this command.
        See Also:
        Constant Field Values
    • Method Detail

      • setBillingAddress

        void setBillingAddress(java.lang.Long anBillingAddress)
        Sets the default address to bill.
        Parameters:
        anBillingAddress - java.lang.Long - billing address identifier
      • setPaymentInfo

        void setPaymentInfo(java.util.Hashtable ahshPaymentInfo)
        Sets the default payment information.
        Parameters:
        ahshPaymentInfo - java.util.Hashtable - payment name-value pairs.
      • setShippingAddress

        void setShippingAddress(java.lang.Long anShippingAddress)
        Sets the default address to ship.
        Parameters:
        anShippingAddress - java.lang.Long - shipping address identifier
      • setShippingMode

        void setShippingMode(java.lang.Integer anShippingMode)
        Sets the default shipping mode.
        Parameters:
        anShippingMode - java.lang.Integer - shipping mode identifier