Table of Contents

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

Phone string

The phone number that was checked, in E.164 format.

Carrier string

The network carrier name (e.g., "Vodafone", "AT&T"). Only populated when fraud_score insight is requested.

Type string

The 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

string

Phone

The phone number that was checked, in E.164 format.

public string Phone { get; init; }

Property Value

string

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; }

Property Value

string