SupplierNumberGenerator

Extends

package

Default

Methods

Returns the next unused supplier number.

generateSupplierNumber() : integer
Throws
\Shopware\Plugins\ViisonCommon\Classes\Exceptions\NumberRangeNotFoundException

if the number range could not be found

Response

integer

Checks whether or not the given supplier number is already used.

isSupplierNumberAvailable(string $supplierNumber) : boolean

Arguments

$supplierNumber

string

Response

boolean