Class PhoneData
- Namespace
- Vonage.NumberInsightV2.FraudCheck
- Assembly
- Vonage.dll
Contains phone number information returned from the fraud check.
public record PhoneData : IEquatable<PhoneData>
- Inheritance
-
PhoneData
- Implements
- Inherited Members
Constructors
PhoneData(string, string, string)
Contains phone number information returned from the fraud check.
public PhoneData(string Phone, string Carrier, string Type)
Parameters
PhonestringThe phone number that was checked, in E.164 format.
CarrierstringThe network carrier name (e.g., "Vodafone", "AT&T"). Only populated when fraud_score insight is requested.
TypestringThe phone line type: Mobile, Landline, VOIP, PrePaid, Personal, or Toll-Free. Only populated when fraud_score insight is requested.
Properties
Carrier
The network carrier name (e.g., "Vodafone", "AT&T"). Only populated when fraud_score insight is requested.
public string Carrier { get; init; }
Property Value
Phone
The phone number that was checked, in E.164 format.
public string Phone { get; init; }
Property Value
Type
The phone line type: Mobile, Landline, VOIP, PrePaid, Personal, or Toll-Free. Only populated when fraud_score insight is requested.
public string Type { get; init; }