Class StandardInsightResponse

All Implemented Interfaces:
Jsonable
Direct Known Subclasses:
AdvancedInsightResponse

Response object constructed from the JSON payload returned for Standard number insight requests.
  • Constructor Details

  • Method Details

    • fromJson

      public static StandardInsightResponse fromJson(String json)
    • getRequestPrice

      Returns:
      The amount in EUR charged to your account.
    • getRemainingBalance

      Returns:
      Your account balance in EUR after this request.
    • getOriginalCarrier

      Returns:
      Information about the network the number was initially connected to.
    • getCurrentCarrier

      Returns:
      Information about the network the number is currently connected to.
    • getPorted

      Returns:
      Whether the number has been ported, as an enum.
    • getCallerIdentity

      Returns:
      Information about the caller.
    • getRefundPrice

      Returns:
      If there is an internal lookup error, the refund_price will reflect the lookup price. If cnam is requested for a non-US number the refund_price will reflect the cnam price. If both of these conditions occur, refund_price is the sum of the lookup price and cnam price.
    • getCallerName

      Returns:
      Full name of the person or business who owns the phone number, or "unknown" if this information is not available. This parameter is only present if cnam had a value of true in the request.
    • getFirstName

      public String getFirstName()
      Returns:
      First name of the person who owns the phone number if the owner is an individual. This parameter is only present if cnam had a value of true in the request.
    • getLastName

      public String getLastName()
      Returns:
      Last name of the person who owns the phone number if the owner is an individual. This parameter is only present if cnam had a value of true in the request.
    • getCallerType

      Returns:
      The caller type, as an enum.