Class ReturnCreatedEvent

    • 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 associated with the order being returned from.
      com.broadleafcommerce.order.client.domain.Order getOrder()
      The order being returned from.
      ReturnRequest getRequest()
      The original request leading to the return creation.
      com.broadleafcommerce.order.client.domain.ReturnAuthorization getReturnAuthorization()
      The return which 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 associated with the order being returned from.
      void setOrder​(com.broadleafcommerce.order.client.domain.Order order)
      The order being returned from.
      void setRequest​(ReturnRequest request)
      The original request leading to the return creation.
      void setReturnAuthorization​(com.broadleafcommerce.order.client.domain.ReturnAuthorization returnAuthorization)
      The return which was created.
      String toString()  
    • Constructor Detail

      • ReturnCreatedEvent

        public ReturnCreatedEvent()
    • Method Detail

      • getRequest

        public ReturnRequest getRequest()
        The original request leading to the return creation.
        Returns:
        the original request leading to the return creation
      • getReturnAuthorization

        public com.broadleafcommerce.order.client.domain.ReturnAuthorization getReturnAuthorization()
        The return which was created.
        Returns:
        the return which was created
      • getOrder

        public com.broadleafcommerce.order.client.domain.Order getOrder()
        The order being returned from.
        Returns:
        the order being returned from
      • getFulfillments

        public List<com.broadleafcommerce.order.client.domain.OrderFulfillment> getFulfillments()
        The fulfillments associated with the order being returned from.
        Returns:
        the fulfillments associated with the order being returned from
      • 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
      • setRequest

        public void setRequest​(ReturnRequest request)
        The original request leading to the return creation.
        Parameters:
        the - original request leading to the return creation
      • setReturnAuthorization

        public void setReturnAuthorization​(com.broadleafcommerce.order.client.domain.ReturnAuthorization returnAuthorization)
        The return which was created.
        Parameters:
        returnAuthorization - the return which was created
      • setOrder

        public void setOrder​(com.broadleafcommerce.order.client.domain.Order order)
        The order being returned from.
        Parameters:
        order - the order being returned from
      • setFulfillments

        public void setFulfillments​(List<com.broadleafcommerce.order.client.domain.OrderFulfillment> fulfillments)
        The fulfillments associated with the order being returned from.
        Parameters:
        fulfillments - the fulfillments associated with the order being returned from
      • 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