java.lang.Object
com.broadleafcommerce.data.tracking.core.interlink.BodyArgument
All Implemented Interfaces:
Argument<String>

public class BodyArgument extends Object implements Argument<String>
This argument will be used as the body of the HTTP POST, PUT, or PATCH call.
  • Constructor Details

    • BodyArgument

      public BodyArgument(String value)
  • Method Details

    • getValue

      public String getValue()
      The representation of the body to pass in HTTP POST, PUT, and PATCH calls. The representation is usually a JSON serialized version of the object.
      Specified by:
      getValue in interface Argument<String>
    • 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