com.ibm.commerce.marketing.promotion.dependency

Interface Order

  • All Superinterfaces:
    ExternalEntity, com.ibm.commerce.marketing.promotion.dynattr.SupportDynamicAttribute


    public interface Order
    extends ExternalEntity
    Order is the interface which represents Order external entity. This interface extends ExternalEntity interface. All the implementations for Order dependency should implement this interface,
    • Field Summary

      Fields 
      Modifier and Type Field and Description
      static java.lang.String COPYRIGHT
      IBM copyright notice field.
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method and Description
      java.lang.String getCurrency()
      This method returns the Currency selected by the customer for the Order.
      java.lang.String[] getEnteredPromotionCodes()
      This method returns all the promotion codes entered by the customer for the order.
      OrderItem[] getItems()
      This method returns the OrderItems of the Order.
      OrderKey getKey()
      This method returns the OrderKey of the Order.
      java.util.Date getLastUpdate()
      This method gets the date when the order was last updated.
      CustomerKey getOwner()
      This method returns the key of the customer who placed the order.
      java.lang.Integer getStoreId()
      This method returns the StoreId.
      java.math.BigDecimal getTotal()
      This method returns the total cost of the Order.
      java.math.BigDecimal getTotalShippingCharge()
      This method returns the total shipping charge of the order.
      java.math.BigDecimal getTotalShippingTax()
      This method returns the total shipping tax of the order.
      java.math.BigDecimal getTotalTax()
      This method returns the total tax to be paid for the Order.
    • Field Detail

      • COPYRIGHT

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

      • getKey

        OrderKey getKey()
        This method returns the OrderKey of the Order.
        Returns:
        OrderKey of the Order
      • getItems

        OrderItem[] getItems()
        This method returns the OrderItems of the Order.
        Returns:
        list of OrderItem
      • getLastUpdate

        java.util.Date getLastUpdate()
        This method gets the date when the order was last updated.
        Returns:
        Date of order update
      • getOwner

        CustomerKey getOwner()
        This method returns the key of the customer who placed the order.
        Returns:
        CustomerKey
      • getCurrency

        java.lang.String getCurrency()
        This method returns the Currency selected by the customer for the Order.
        Returns:
        String Currency name.
      • getStoreId

        java.lang.Integer getStoreId()
        This method returns the StoreId.
        Returns:
        Integer store Id.
      • getTotalShippingCharge

        java.math.BigDecimal getTotalShippingCharge()
        This method returns the total shipping charge of the order.
        Returns:
        The total shipping charge
      • getTotalShippingTax

        java.math.BigDecimal getTotalShippingTax()
        This method returns the total shipping tax of the order.
        Returns:
        The total shipping tax
      • getTotal

        java.math.BigDecimal getTotal()
        This method returns the total cost of the Order.
        Returns:
        The total cost of the order
      • getTotalTax

        java.math.BigDecimal getTotalTax()
        This method returns the total tax to be paid for the Order.
        Returns:
        The total tax
      • getEnteredPromotionCodes

        java.lang.String[] getEnteredPromotionCodes()
        This method returns all the promotion codes entered by the customer for the order.
        Returns:
        String[] promotion codes