Class AbstractModel

java.lang.Object
com.maxmind.minfraud.AbstractModel
Direct Known Subclasses:
AbstractAddress, AbstractLocation, Account, CreditCard, CreditCard, CustomInputs, Device, Device, Disposition, Email, Email, EmailDomain, Event, IpRiskReason, Issuer, Order, Payment, ScoreResponse, ShoppingCartItem, Transaction, TransactionReport, Warning

public abstract class AbstractModel extends Object
  • Constructor Details

    • AbstractModel

      public AbstractModel()
  • Method Details

    • toJson

      public final String toJson() throws IOException
      Returns:
      JSON representation of this object.
      Throws:
      IOException - if there is an error serializing the object to JSON.
    • toString

      public String toString()
      Overrides:
      toString in class Object