Class RedemptionsRollbackCreateResponseBodyLoyaltyCard

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

@Generated("org.openapitools.codegen.languages.JavaClientCodegen") public class RedemptionsRollbackCreateResponseBodyLoyaltyCard extends Object
Contains the number of points returned to the loyalty card in the reward redemption rollback. It is expressed as a negative integer.
  • Field Details

  • Constructor Details

    • RedemptionsRollbackCreateResponseBodyLoyaltyCard

      public RedemptionsRollbackCreateResponseBodyLoyaltyCard()
  • Method Details

    • points

    • getPoints

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

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