Skip to content

Instantly share code, notes, and snippets.

@MrStahlfelge
Created February 2, 2022 12:09
Show Gist options
  • Save MrStahlfelge/4cace9cf4c67b71bd7efeeb08cc64809 to your computer and use it in GitHub Desktop.
Save MrStahlfelge/4cace9cf4c67b71bd7efeeb08cc64809 to your computer and use it in GitHub Desktop.
package org.ergoplatform.ergopay;
import com.fasterxml.jackson.annotation.JsonInclude;
public class ErgoPayResponse {
@JsonInclude(JsonInclude.Include.NON_NULL)
public String message;
@JsonInclude(JsonInclude.Include.NON_NULL)
public Severity messageSeverity;
@JsonInclude(JsonInclude.Include.NON_NULL)
public String address;
@JsonInclude(JsonInclude.Include.NON_NULL)
public String reducedTx;
@JsonInclude(JsonInclude.Include.NON_NULL)
public String replyTo;
enum Severity { NONE, INFORMATION, WARNING, ERROR }
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment