java.lang.Object
com.maxmind.minfraud.AbstractModel
com.maxmind.minfraud.response.Phone

public final class Phone extends AbstractModel
This class contains minFraud response data related to the phone number.
  • Constructor Details

    • Phone

      public Phone(String country, Boolean isVoip, String networkOperator, String numberType)
      Parameters:
      country - The ISO 3166-2 country code for the phone number.
      isVoip - Whether the number is VoIP.
      networkOperator - The network operator associated with the phone number.
      numberType - The type of the phone number.
    • Phone

      public Phone()
      Constructor for Phone.
  • Method Details

    • getCountry

      public String getCountry()
      Returns:
      The two-character ISO 3166-1 country code for the country associated with the phone number.
    • isVoip

      public Boolean isVoip()
      Returns:
      Whether the phone number is a Voice over Internet Protocol (VoIP) number allocated by a regulator. The value will be null if a valid phone number was not provided or if we do not have data for the phone number.
    • getNetworkOperator

      public String getNetworkOperator()
      Returns:
      The name of the original network operator associated with the phone number. This field does not reflect phone numbers that have been ported from the original operator to another, nor does it identify mobile virtual network operators.
    • getNumberType

      public String getNumberType()
      Returns:
      One of the following values: fixed or mobile. Additional values may be added in the future.