Class LoyaltiesEarningRulesCreateRequestBodyItemSource

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

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

  • Constructor Details

    • LoyaltiesEarningRulesCreateRequestBodyItemSource

      public LoyaltiesEarningRulesCreateRequestBodyItemSource()
  • Method Details

    • banner

    • getBanner

      @Nullable public String getBanner()
      Name of the earning rule. This is displayed as a header for the earning rule in the Dashboard.
      Returns:
      banner
    • setBanner

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

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