Class TabbyAttachment

java.lang.Object
com.broadleafcommerce.tabby.domain.TabbyAttachment
All Implemented Interfaces:
Serializable

public class TabbyAttachment extends Object implements Serializable
Extra data (booking info, insurance, flight reservations, ...) as serialized JSON
Author:
Dima Myroniuk (dmyroniuk)
See Also:
  • Constructor Details

    • TabbyAttachment

      public TabbyAttachment()
  • Method Details

    • getBody

      public Object getBody()
      Should be an object containing any of the keys with corresponded sub objects.
    • getContentType

      public String getContentType()
      Version of used schema.

      Default: "application/vnd.tabby.v1+json"

    • setBody

      public void setBody(Object body)
      Should be an object containing any of the keys with corresponded sub objects.
    • setContentType

      public void setContentType(String contentType)
      Version of used schema.

      Default: "application/vnd.tabby.v1+json"

    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • canEqual

      protected boolean canEqual(Object other)
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object