minFraud PHP API v3.2.0-beta.2

Phone
in package
implements JsonSerializable

Model containing information about the billing or shipping phone number.

Table of Contents

Interfaces

JsonSerializable

Properties

$country  : string|null
$isVoip  : bool|null
$networkOperator  : string|null
$numberType  : string|null

Methods

__construct()  : mixed
jsonSerialize()  : array<string, mixed>

Properties

$country read-only

public string|null $country

the two-character ISO 3166-1 country code for the country associated with the phone number

$isVoip read-only

public bool|null $isVoip

This is true if the phone number is a Voice over Internet Protocol (VoIP) number allocated by a regulator. It is false if the phone number is not a VoIP number allocated by a regulator. It is null if a valid number was not provided or if we do not have data for the number.

$networkOperator read-only

public string|null $networkOperator

The name of the original network operator associated with the phone number. This property does not reflect phone numbers that have been ported from the original operator to another, nor does it identify mobile virtual network operators.

$numberType read-only

public string|null $numberType

One of the following values: fixed or mobile. Additional values may be added in the future.

Methods

__construct()

public __construct(array<string, mixed>|null $response) : mixed
Parameters
$response : array<string, mixed>|null

jsonSerialize()

public jsonSerialize() : array<string, mixed>
Return values
array<string, mixed>

        
On this page

Search results