CustomerInformationStatusResponse
in package
Response data indicating customer information processing status.
Contains the status of previously submitted customer information (pending or denied), estimated time until status changes, and optional URL for more information.
This response is included in CustomerInformationStatusException when customer information is being processed or was not accepted.
Tags
Table of Contents
Properties
- $eta : int|null
- $moreInfoUrl : string|null
- $status : string
Methods
- __construct() : mixed
- fromJson() : CustomerInformationStatusResponse
- Constructs a new instance of CustomerInformationStatusResponse by using the given data.
Properties
$eta
public
int|null
$eta
= null
$moreInfoUrl
public
string|null
$moreInfoUrl
= null
$status
public
string
$status
Methods
__construct()
public
__construct(string $status[, string|null $moreInfoUrl = null ][, int|null $eta = null ]) : mixed
Parameters
- $status : string
-
Status of customer information processing. One of: pending, denied.
- $moreInfoUrl : string|null = null
-
A URL the user can visit if they want more information about their account / status.
- $eta : int|null = null
-
Estimated number of seconds until the customer information status will update.
fromJson()
Constructs a new instance of CustomerInformationStatusResponse by using the given data.
public
static fromJson(array<string|int, mixed> $json) : CustomerInformationStatusResponse
Parameters
- $json : array<string|int, mixed>
-
the data to construct the object from.
Return values
CustomerInformationStatusResponse —the object containing the parsed data.