Class LoyaltiesEarningRulesUpdateRequestBodySource

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

@Generated("org.openapitools.codegen.languages.JavaClientCodegen") public class LoyaltiesEarningRulesUpdateRequestBodySource extends Object
Contains the custom earning rule name and parent campaign.
  • Field Details

  • Constructor Details

    • LoyaltiesEarningRulesUpdateRequestBodySource

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

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