EFL
EflClient

setProcessTypeForCompany

Sets the process type for a company for the given transaction.

setProcessTypeForCompany() configures the process type for a company in the context of a given transaction. It wraps ProcessApiClient::setProcessTypeForCompany().

All methods on EflClient may throw:

Method signature

public function setProcessTypeForCompany(
    string $transactionId,
    string $bearerToken,
    ?string $nip = null,
    ?bool $basketCalculation = null
): void

Parameters

NameTypeRequiredDescription
transactionIdstringYesIdentifier of the transaction.
bearerTokenstringYesBearer token.
nipstring|nullNoOptional tax identifier (NIP) for the company.
basketCalculationbool|nullNoWhether basket calculation is used.

Return value

  • Type: void – use exceptions and logging to detect errors.