Skip to main content

ClientInfo


ClientInfo

Properties

company

public \Onslip360\API\Company $company

companyConfig

public \Onslip360\API\Stored_CompanyConfig $companyConfig

merchantParams

public \Onslip360\API\MerchantParams $merchantParams

permissions

public array $permissions

serviceEndpoints

public array $serviceEndpoints

systemParams

public \Onslip360\API\SystemParams $systemParams

accessToken

public \Onslip360\API\Stored_AccessToken|null $accessToken

location

public \Onslip360\API\Stored_Location|null $location

p2PKey

public string|null $p2PKey

p2PRealm

public string|null $p2PRealm

till

public \Onslip360\API\Stored_Till|null $till

tillState

public \Onslip360\API\Stored_TillState|null $tillState

user

public \Onslip360\API\Stored_User|null $user

Methods

__construct

public __construct(\Onslip360\API\Company $company, \Onslip360\API\Stored_CompanyConfig $companyConfig, \Onslip360\API\MerchantParams $merchantParams, \Onslip360\API\Permission[] $permissions, \Onslip360\API\ServiceEndpoint[] $serviceEndpoints, \Onslip360\API\SystemParams $systemParams, \Onslip360\API\Stored_AccessToken|null $accessToken = null, \Onslip360\API\Stored_Location|null $location = null, string|null $p2PKey = null, string|null $p2PRealm = null, \Onslip360\API\Stored_Till|null $till = null, \Onslip360\API\Stored_TillState|null $tillState = null, \Onslip360\API\Stored_User|null $user = null): mixed

Parameters:

ParameterTypeDescription
$company\Onslip360\API\Company
$companyConfig\Onslip360\API\Stored_CompanyConfig
$merchantParams\Onslip360\API\MerchantParams
$permissions\Onslip360\API\Permission[]
$serviceEndpoints\Onslip360\API\ServiceEndpoint[]
$systemParams\Onslip360\API\SystemParams
$accessToken\Onslip360\API\Stored_AccessToken|null
$location\Onslip360\API\Stored_Location|null
$p2PKeystring|null
$p2PRealmstring|null
$till\Onslip360\API\Stored_Till|null
$tillState\Onslip360\API\Stored_TillState|null
$user\Onslip360\API\Stored_User|null

Inherited methods

getExtended

public getExtended(string $name): string|null|\Onslip360\Nil

Parameters:

ParameterTypeDescription
$namestring

setExtended

public setExtended(string $name, string|null|\Onslip360\Nil $value): static

Parameters:

ParameterTypeDescription
$namestring
$valuestring|null|\Onslip360\Nil

fromJson

public static fromJson(string|array|\JsonSerializable|\stdClass $json): static
  • This method is static.

Parameters:

ParameterTypeDescription
$jsonstring|array|\JsonSerializable|\stdClass

fromJsonArray

public static fromJsonArray(string[]|array[]|\JsonSerializable[]|\stdClass[] $json): static[]
  • This method is static.

Parameters:

ParameterTypeDescription
$jsonstring[]|array[]|\JsonSerializable[]|\stdClass[]

jsonSerialize

public jsonSerialize(): array|object


Automatically generated on 2024-11-05