Class RedemptionsGetResponseBodyPromotionTierAction

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

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

  • Constructor Details

    • RedemptionsGetResponseBodyPromotionTierAction

      public RedemptionsGetResponseBodyPromotionTierAction()
  • Method Details

    • discount

    • getDiscount

      @Nullable public Discount getDiscount()
      Get discount
      Returns:
      discount
    • setDiscount

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

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