Class ValidationsRedeemableInapplicableResultDetails

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

@Generated("org.openapitools.codegen.languages.JavaClientCodegen") public class ValidationsRedeemableInapplicableResultDetails extends Object
Provides details about the reason why the redeemable is inapplicable.
  • Field Details

  • Constructor Details

    • ValidationsRedeemableInapplicableResultDetails

      public ValidationsRedeemableInapplicableResultDetails()
  • Method Details

    • message

    • getMessage

      @Nullable public String getMessage()
      Generic message from the `message` string shown in the `error` object or the message configured in a validation rule.
      Returns:
      message
    • setMessage

      public void setMessage(String message)
    • key

    • getKey

      @Nullable public String getKey()
      Generic message from the `key` string shown in the `error` object.
      Returns:
      key
    • setKey

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

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