Class ReferrerId

java.lang.Object
io.voucherify.client.model.ReferrerId

@Generated("org.openapitools.codegen.languages.JavaClientCodegen") public class ReferrerId extends Object
ReferrerId
  • Field Details

  • Constructor Details

    • ReferrerId

      public ReferrerId()
  • Method Details

    • id

      public ReferrerId id(String id)
    • getId

      @Nullable public String getId()
      A unique identifier of an existing customer.
      Returns:
      id
    • setId

      public void setId(String id)
    • _object

      public ReferrerId _object(ReferrerId.ObjectEnum _object)
    • getObject

      @Nullable public ReferrerId.ObjectEnum getObject()
      The type of the object represented by JSON.
      Returns:
      _object
    • setObject

      public void setObject(ReferrerId.ObjectEnum _object)
    • equals

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

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

      public String toString()
      Overrides:
      toString in class Object
    • fromJson

      public static ReferrerId fromJson(String jsonString) throws IOException
      Create an instance of ReferrerId given an JSON string
      Parameters:
      jsonString - JSON string
      Returns:
      An instance of ReferrerId
      Throws:
      IOException - if the JSON string is invalid with respect to ReferrerId
    • toJson

      public String toJson()
      Convert an instance of ReferrerId to an JSON string
      Returns:
      JSON string