BankIDOrderManager
final class BankIDOrderManager
Manages BankID orders.
Traits
StringTranslationTrait
Methods
__construct(BankIDClient $bankID, TranslationInterface $stringTranslation, PrivateTempStoreFactory $tempStoreFactory, KeyValueFactoryInterface $keyValueFactory, BankIDCasePluginManager $bankIDCaseManager, RequestStack $requestStack, ConfigFactoryInterface $config_factory)
Constructor for BankIDOrderManager.
string
BankIDCaseInterface|null
loadPlugin(string|null $configuration_hash)
Load a plugin.
CaseData|null
getCaseData(string|null $configuration_hash)
Get case data.
array
startOrder(string|null $configuration_hash = NULL)
Start a sign order.
array
getOrderStatus(string $order_ref)
Get the status of an order.
array
cancelOrder(string $order_ref)
Cancel an order.
void
deleteKey(string $key)
Delete a key from the private temp store.
string|null
getOrderUserId(string $order_ref)
Get the user id from the order.
array|null
getOrderDoneTempData(string $order_ref)
Get the order done temp data from the order.
string
getMessage(string $short_name)
Get a message by short name.
Details
at line 50
__construct(BankIDClient $bankID, TranslationInterface $stringTranslation, PrivateTempStoreFactory $tempStoreFactory, KeyValueFactoryInterface $keyValueFactory, BankIDCasePluginManager $bankIDCaseManager, RequestStack $requestStack, ConfigFactoryInterface $config_factory)
Constructor for BankIDOrderManager.
at line 76
string
registerCase(CaseData $case)
Register a case.
at line 101
BankIDCaseInterface|null
loadPlugin(string|null $configuration_hash)
Load a plugin.
at line 133
CaseData|null
getCaseData(string|null $configuration_hash)
Get case data.
at line 173
array
startOrder(string|null $configuration_hash = NULL)
Start a sign order.
at line 228
array
getOrderStatus(string $order_ref)
Get the status of an order.
at line 381
array
cancelOrder(string $order_ref)
Cancel an order.
at line 448
void
deleteKey(string $key)
Delete a key from the private temp store.
at line 461
string|null
getOrderUserId(string $order_ref)
Get the user id from the order.
at line 475
array|null
getOrderDoneTempData(string $order_ref)
Get the order done temp data from the order.
at line 489
string
getMessage(string $short_name)
Get a message by short name.