Class RedemptionsListResponseBodyRedemptionsItemLoyaltyCard

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

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

  • Constructor Details

    • RedemptionsListResponseBodyRedemptionsItemLoyaltyCard

      public RedemptionsListResponseBodyRedemptionsItemLoyaltyCard()
  • Method Details

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

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