Class RedemptionEntryLoyaltyCard

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

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

  • Constructor Details

    • RedemptionEntryLoyaltyCard

      public RedemptionEntryLoyaltyCard()
  • Method Details

    • points

      public RedemptionEntryLoyaltyCard points(Integer points)
    • getPoints

      @Nullable public Integer getPoints()
      Number of points subtracted from the loyalty card as a result of the redemption. and Number of points being returned to the loyalty card for the reward redemption rollback. It is expressed as a negative integer.
      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

      public static RedemptionEntryLoyaltyCard fromJson(String jsonString) throws IOException
      Create an instance of RedemptionEntryLoyaltyCard given an JSON string
      Parameters:
      jsonString - JSON string
      Returns:
      An instance of RedemptionEntryLoyaltyCard
      Throws:
      IOException - if the JSON string is invalid with respect to RedemptionEntryLoyaltyCard
    • toJson

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