Class OrderCreatedEvent

    • Constructor Summary

      Constructors 
      Constructor Description
      OrderCreatedEvent()  
      OrderCreatedEvent​(com.broadleafcommerce.order.client.domain.Order order, List<com.broadleafcommerce.order.client.domain.OrderFulfillment> fulfillments, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      protected boolean canEqual​(Object other)  
      boolean equals​(Object o)  
      com.broadleafcommerce.data.tracking.core.context.ContextInfo getContextInfo()
      The ContextInfo derived from the original request containing tenant and sandbox info.
      List<com.broadleafcommerce.order.client.domain.OrderFulfillment> getFulfillments()
      The fulfillments created for the order
      com.broadleafcommerce.order.client.domain.Order getOrder()
      The order object that was created
      int hashCode()  
      void setContextInfo​(com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo)
      The ContextInfo derived from the original request containing tenant and sandbox info.
      void setFulfillments​(List<com.broadleafcommerce.order.client.domain.OrderFulfillment> fulfillments)
      The fulfillments created for the order
      void setOrder​(com.broadleafcommerce.order.client.domain.Order order)
      The order object that was created
      String toString()  
    • Constructor Detail

      • OrderCreatedEvent

        public OrderCreatedEvent()
      • OrderCreatedEvent

        public OrderCreatedEvent​(com.broadleafcommerce.order.client.domain.Order order,
                                 List<com.broadleafcommerce.order.client.domain.OrderFulfillment> fulfillments,
                                 @Nullable
                                 com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo)
    • Method Detail

      • getOrder

        public com.broadleafcommerce.order.client.domain.Order getOrder()
        The order object that was created
      • getFulfillments

        public List<com.broadleafcommerce.order.client.domain.OrderFulfillment> getFulfillments()
        The fulfillments created for the order
      • getContextInfo

        @Nullable
        public com.broadleafcommerce.data.tracking.core.context.ContextInfo getContextInfo()
        The ContextInfo derived from the original request containing tenant and sandbox info.
        Returns:
        The ContextInfo derived from the original request
      • setOrder

        public void setOrder​(com.broadleafcommerce.order.client.domain.Order order)
        The order object that was created
      • setFulfillments

        public void setFulfillments​(List<com.broadleafcommerce.order.client.domain.OrderFulfillment> fulfillments)
        The fulfillments created for the order
      • setContextInfo

        public void setContextInfo​(@Nullable
                                   com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo)
        The ContextInfo derived from the original request containing tenant and sandbox info.
      • canEqual

        protected boolean canEqual​(Object other)
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object