Class VoucherTransactionDetailsRollback

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

@Generated("org.openapitools.codegen.languages.JavaClientCodegen") public class VoucherTransactionDetailsRollback extends Object
Contains information about the redemption rollback.
  • Field Details

  • Constructor Details

    • VoucherTransactionDetailsRollback

      public VoucherTransactionDetailsRollback()
  • Method Details

    • id

    • getId

      @Nullable public String getId()
      Unique redemption rollback ID.
      Returns:
      id
    • setId

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

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