Class VoucherTransactionDetailsEvent

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

@Generated("org.openapitools.codegen.languages.JavaClientCodegen") public class VoucherTransactionDetailsEvent extends Object
Contains information about the event that triggers the point accrual.
  • Field Details

  • Constructor Details

    • VoucherTransactionDetailsEvent

      public VoucherTransactionDetailsEvent()
  • Method Details

    • id

    • getId

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

      public void setId(String id)
    • type

    • getType

      @Nullable public String getType()
      Type of event.
      Returns:
      type
    • setType

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

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