class BankIDOrderDoneData

Order done date.

Methods

__construct(array $clientData, string $orderRef, string|null $userId, array $orderDoneTempData = [])

Constructs a BankIDOrderDoneData object.

array
getClientData()

Get JS client data.

string
getOrderRef()

Get the order reference.

string|null
getUserId()

Get the user ID.

array
getOrderDoneTempData()

Get temporary data that will persist.

Details

at line 48
__construct(array $clientData, string $orderRef, string|null $userId, array $orderDoneTempData = [])

Constructs a BankIDOrderDoneData object.

Parameters

array $clientData

Data to be sent to the JS client.

string $orderRef

The order reference.

string|null $userId

The user ID of the user that was linked to the order or NULL.

array $orderDoneTempData

Temporary data that will persist until removed automatically by the private temporary store.

at line 63
array getClientData()

Get JS client data.

Data to be emitted through the JS bankid event under event.details.data.

Return Value

array

The client data.

at line 73
string getOrderRef()

Get the order reference.

Return Value

string

The order reference.

at line 85
string|null getUserId()

Get the user ID.

This is the user ID of the user that was linked to the order, if any.

Return Value

string|null

The user ID, or NULL if no user was linked.

at line 101
array getOrderDoneTempData()

Get temporary data that will persist.

Data will persist until removed automatically by the private temporary store.

This data can be used to store additional information related to the order that is not part of the client data or user ID.

Return Value

array

The temporary data.