Class EarningRuleCustomEvent

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

@Generated("org.openapitools.codegen.languages.JavaClientCodegen") public class EarningRuleCustomEvent extends Object
Contains details about the custom event.
  • Field Details

  • Constructor Details

    • EarningRuleCustomEvent

      public EarningRuleCustomEvent()
  • Method Details

    • schemaId

      public EarningRuleCustomEvent schemaId(String schemaId)
    • getSchemaId

      @Nullable public String getSchemaId()
      Unique identifier of the custom event schema
      Returns:
      schemaId
    • setSchemaId

      public void setSchemaId(String schemaId)
    • 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 EarningRuleCustomEvent fromJson(String jsonString) throws IOException
      Create an instance of EarningRuleCustomEvent given an JSON string
      Parameters:
      jsonString - JSON string
      Returns:
      An instance of EarningRuleCustomEvent
      Throws:
      IOException - if the JSON string is invalid with respect to EarningRuleCustomEvent
    • toJson

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