\Knack\ZeroBounce\ModelsResponse

Class ZeroBounceServiceProvider

Summary

Methods
Properties
Constants
__construct()
$address
$status
$subStatus
$account
$domain
$didYouMean
$domainAgeDays
$freeEmail
$mxFound
$mxRecord
$smtpProvider
$firstName
$lastName
$gender
$country
$region
$city
$zipCode
$processedAt
No constants found
No protected methods found
No protected properties found
N/A
No private methods found
No private properties found
N/A

Properties

$address

$address : string

The address part of the email

Type

string

$status

$status : \Knack\ZeroBounce\Enums\StatusEnum

The status of the validation response

Type

\Knack\ZeroBounce\Enums\StatusEnum

$subStatus

$subStatus : \Knack\ZeroBounce\Enums\SubStatusEnum

The sub-status of the validation response

Type

\Knack\ZeroBounce\Enums\SubStatusEnum

$account

$account : string

The account part of the email

Type

string

$domain

$domain : string

The domain part of the email

Type

string

$didYouMean

$didYouMean : string|null

The did you mean email address hint

Type

string|null

$domainAgeDays

$domainAgeDays : string|null

The age of the domain in days

Type

string|null

$freeEmail

$freeEmail : boolean

If the email is a free email or not

Type

boolean

$mxFound

$mxFound : boolean

If an MX Record has been found for the domain

Type

boolean

$mxRecord

$mxRecord : string|null

The MX Record for the domain, if present

Type

string|null

$smtpProvider

$smtpProvider : string|null

The SMTP provider of the email

Type

string|null

$firstName

$firstName : string|null

The email address user's first name

Type

string|null

$lastName

$lastName : string

The email address user's last name

Type

string

$gender

$gender : \Knack\ZeroBounce\Enums\GenderEnum

The email address user's gender

Type

\Knack\ZeroBounce\Enums\GenderEnum

$country

$country : string

The email address user's country, from IP address

Type

string

$region

$region : string

The email address user's region, from IP address

Type

string

$city

$city : string

The email address user's city, from IP address

Type

string

$zipCode

$zipCode : string

The email address user's zip code, from IP address

Type

string

$processedAt

$processedAt : \Carbon\Carbon

The time the API request was processed at

Type

\Carbon\Carbon

Methods

__construct()

__construct(string  $address, string  $status, string  $subStatus, string  $account, string  $domain, string  $didYouMean, integer  $domainAgeDays, boolean  $freeEmail, boolean  $mxFound, string  $mxRecord, string  $smtpProvider, string  $firstName, string  $lastName, string  $gender, string  $country, string  $region, string  $city, string  $zipCode, string  $processedAt) 

Response constructor.

Parameters

string $address

from API response

string $status

from API response

string $subStatus

from API response

string $account

from API response

string $domain

from API response

string $didYouMean

from API response

integer $domainAgeDays

from API response

boolean $freeEmail

from API response

boolean $mxFound

from API response

string $mxRecord

from API response

string $smtpProvider

from API response

string $firstName

from API response

string $lastName

from API response

string $gender

from API response

string $country

from API response

string $region

from API response

string $city

from API response

string $zipCode

from API response

string $processedAt

from API response