Class ValidationsValidateResponseBodyRedeemablesItemResultLoyaltyCard

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

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

  • Constructor Details

    • ValidationsValidateResponseBodyRedeemablesItemResultLoyaltyCard

      public ValidationsValidateResponseBodyRedeemablesItemResultLoyaltyCard()
  • Method Details

    • points

    • getPoints

      @Nullable public Integer getPoints()
      Total number of loyalty points to be applied in the redemption.
      Returns:
      points
    • setPoints

      public void setPoints(Integer points)
    • 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

      Create an instance of ValidationsValidateResponseBodyRedeemablesItemResultLoyaltyCard given an JSON string
      Parameters:
      jsonString - JSON string
      Returns:
      An instance of ValidationsValidateResponseBodyRedeemablesItemResultLoyaltyCard
      Throws:
      IOException - if the JSON string is invalid with respect to ValidationsValidateResponseBodyRedeemablesItemResultLoyaltyCard
    • toJson

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