com.ibm.commerce.order.commands

Class ServiceProviderChildOrderCreateCmdImpl

    • Field Detail

      • COPYRIGHT

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

      • ServiceProviderChildOrderCreateCmdImpl

        public ServiceProviderChildOrderCreateCmdImpl()
    • Method Detail

      • getChildCommandContext

        public CommandContext getChildCommandContext()
        get the command context for child order
        Returns:
        command context for child order
      • getChildOrderAccessBean

        public OrderAccessBean getChildOrderAccessBean()
        Gets the order access bean.
        Returns:
        order id.
      • getOrderId

        public java.lang.Long getOrderId()
        Gets the order id.
        Returns:
        order id.
      • getSubscriptionAmount

        public java.math.BigDecimal getSubscriptionAmount()
        Gets the subscription amount.
        Returns:
        subscription amount
      • getSubscriptionQuantityUOM

        public java.lang.String getSubscriptionQuantityUOM()
        Gets the subscription quantity unit of measure.
        Returns:
        subscription quantity UOM
      • getSubscriptionQuantity

        public java.lang.Double getSubscriptionQuantity()
        Gets the subscription quantity.
        Returns:
        subscription quantity
      • getCatEntryId

        public java.lang.Long getCatEntryId()
        Gets the catalog entry id.
        Returns:
        catalog entry id.
      • getOrderType

        public java.lang.String getOrderType()
        Gets the order type.
        Returns:
        String order type.
      • getOrderItemId

        public java.lang.Long getOrderItemId()
        Gets the order item id.
        Returns:
        order item id.
      • getChildOrderId

        public java.lang.Long getChildOrderId()
        Gets the child order item id.
        Returns:
        order child order id.
      • setOrderId

        public void setOrderId(java.lang.Long newOrderId)
        Sets the order id.
        Parameters:
        newOrderId - order id.
      • setSubscriptionAmount

        public void setSubscriptionAmount(java.math.BigDecimal iSubscriptionAmount)
        Sets the subscription amount.
        Parameters:
        iSubscriptionAmount - subscription amount.
      • setSubscriptionQuantity

        public void setSubscriptionQuantity(java.lang.Double iSubscriptionQuantity)
        Sets the subscription quantity.
        Parameters:
        iSubscriptionQuantity - subscription quantity.
      • setSubscriptionQuantityUOM

        public void setSubscriptionQuantityUOM(java.lang.String iSubscriptionQuantityUOM)
        Sets the subscription quantity unit of measure.
        Parameters:
        iSubscriptionQuantityUOM - subscription quantity UOM.
      • setCatEntryId

        public void setCatEntryId(java.lang.Long newCatEntryId)
        Sets the catalog entry id.
        Parameters:
        newCatEntryId - catalog entry id.
      • setOrderType

        public void setOrderType(java.lang.String iOrderType)
        Sets the order type.
        Parameters:
        iOrderType - order type.
      • setChildOrderId

        public void setChildOrderId(java.lang.Long childOrderId)
        Sets the new created child order id.
        Parameters:
        childOrderId - the child order id.
      • setOrderItemId

        public void setOrderItemId(java.lang.Long newOrderItemId)
        Sets the order item id.
        Parameters:
        newOrderItemId - order item id.
      • setChildCommandContext

        public void setChildCommandContext(CommandContext childCommandContext)
        Sets the command context for child order
        Parameters:
        childCommandContext -
      • setChildOrderAccessBean

        public void setChildOrderAccessBean(OrderAccessBean orderAB)
        Sets the order access bean.
        Parameters:
        orderAB -
      • setChildOrderABandType

        public void setChildOrderABandType(java.lang.String orderId)
                                    throws ECException
        Sets child order access bean and child order type using order id
        Parameters:
        orderId -
        Throws:
        ECException
      • reset

        public void reset()
        This method should be called after a command has been executed to reset its state variables.
        Specified by:
        reset in interface com.ibm.websphere.command.Command
        Overrides:
        reset in class AbstractECTargetableCommand