protected getProviderTransactionType ( string $transactionType ) : string | ||
$transactionType | string | |
Résultat | string |
protected function getProviderTransactionType($transactionType)
{
if (!array_key_exists($transactionType, $this->transactionMap)) {
throw new UnknownTransactionType('Transaction type is unknown: ' . $transactionType);
}
return $this->transactionMap[$transactionType];
}