Class SimSwap

java.lang.Object
com.vonage.client.JsonableBaseObject
com.vonage.client.numberinsight2.SimSwap
All Implemented Interfaces:
Jsonable

public class SimSwap extends JsonableBaseObject
Represents the sim swap insight results in FraudCheckResponse.getSimSwap().
  • Constructor Details

  • Method Details

    • getStatus

      Status of the sim swap call.
      Returns:
      The insight status as an enum.
    • getSwapped

      public Boolean getSwapped()
      Whether the sim was swapped within the past week. Returned only if the sim swap check succeeds.
      Returns:
      true if the sim was swapped in the last 7 days, or null if the check failed.
    • getReason

      public String getReason()
      Reason for a sim swap error response. Returned only if the sim swap check fails.
      Returns:
      The error response description, or null if the call succeeded.