Class InsightsResponse

Direct Known Subclasses:
FactorsResponse

public class InsightsResponse extends ScoreResponse
This class provides a model for the minFraud Insights response.
  • Constructor Details

    • InsightsResponse

      public InsightsResponse(BillingAddress billingAddress, Phone billingPhone, CreditCard creditCard, Device device, Disposition disposition, Email email, Double fundsRemaining, UUID id, IpAddress ipAddress, Integer queriesRemaining, Double riskScore, ShippingAddress shippingAddress, Phone shippingPhone, List<Warning> warnings)
      Constructor for InsightsResponse.
      Parameters:
      billingAddress - billing address
      billingPhone - billing phone
      creditCard - credit card
      device - device
      disposition - disposition
      email - email
      fundsRemaining - funds remaining
      id - id
      ipAddress - ip address
      queriesRemaining - queries remaining
      riskScore - risk score
      shippingAddress - shipping address
      shippingPhone - shipping phone
      warnings - warnings
    • InsightsResponse

      @Deprecated public InsightsResponse(BillingAddress billingAddress, CreditCard creditCard, Device device, Disposition disposition, Email email, Double fundsRemaining, UUID id, IpAddress ipAddress, Integer queriesRemaining, Double riskScore, ShippingAddress shippingAddress, List<Warning> warnings)
      Deprecated.
      use other constructor.
      Constructor for backwards compatibility. This will be removed in the next major release.
  • Method Details

    • getIpAddress

      public IpAddress getIpAddress()
      Overrides:
      getIpAddress in class ScoreResponse
      Returns:
      The IpAddress model object.
    • getCreditCard

      public CreditCard getCreditCard()
      Returns:
      The CreditCard model object.
    • getDevice

      public Device getDevice()
      Returns:
      The Device model object.
    • getEmail

      public Email getEmail()
      Returns:
      The Email model object.
    • getShippingAddress

      public ShippingAddress getShippingAddress()
      Returns:
      The ShippingAddress model object.
    • getShippingPhone

      public Phone getShippingPhone()
      Returns:
      The Phone model object for the shipping phone number.
    • getBillingAddress

      public BillingAddress getBillingAddress()
      Returns:
      The BillingAddress model object.
    • getBillingPhone

      public Phone getBillingPhone()
      Returns:
      The Phone model object for the billing phone number.