Service implements IService
Class Service
Table of Contents
Interfaces
- IService
- Interface IService
Constants
- GROUP = 'checkout'
- TYPE_YANDEX = 'yandex'
- TYPE_YOOKASSA = 'yookassa'
Methods
- getAuthAdapter() : AuthAdapter
- Get auth adapter.
- getEngineCode() : string
- getInstance() : static
- Get instance.
- getTypes() : array<string|int, mixed>
Constants
GROUP
public
mixed
GROUP
= 'checkout'
TYPE_YANDEX
public
mixed
TYPE_YANDEX
= 'yandex'
TYPE_YOOKASSA
public
mixed
TYPE_YOOKASSA
= 'yookassa'
Methods
getAuthAdapter()
Get auth adapter.
public
static getAuthAdapter(string $type) : AuthAdapter
Parameters
- $type : string
-
Type.
Tags
Return values
AuthAdaptergetEngineCode()
public
static getEngineCode(string $type) : string
Parameters
- $type : string
Return values
stringgetInstance()
Get instance.
public
static getInstance() : static
Return values
staticgetTypes()
public
static getTypes() : array<string|int, mixed>