\App\Http\Controllers\CmsGtinController

Class Controller

Summary

Methods
Properties
Constants
__construct()
getGtin()
getOrCreateGtin()
getProductBoxesByGtin()
addGtinsToCsv()
getUserToken()
retrieveUserToken()
No public properties found
No constants found
No protected methods found
No protected properties found
N/A
getTemplatePropGroupNames()
$gtinLibrary
N/A

Properties

$gtinLibrary

$gtinLibrary
Deprecated: Please use getType in phar:///usr/local/bin/phpdoc/src/phpDocumentor/Descriptor/Traits/CanHaveAType.php on line 50
 : 
Deprecated: Please use getType in phar:///usr/local/bin/phpdoc/src/phpDocumentor/Descriptor/Traits/CanHaveAType.php on line 50
\App\Library\Cms\GtinLibrary

Deprecated: Please use getType in phar:///usr/local/bin/phpdoc/src/phpDocumentor/Descriptor/Traits/CanHaveAType.php on line 50

Type

Deprecated: Please use getType in phar:///usr/local/bin/phpdoc/src/phpDocumentor/Descriptor/Traits/CanHaveAType.php on line 50 \App\Library\Cms\GtinLibrary

Methods

__construct()

__construct(
Deprecated: Please use getType in phar:///usr/local/bin/phpdoc/src/phpDocumentor/Descriptor/Traits/CanHaveAType.php on line 50

Deprecated: Please use getType in phar:///usr/local/bin/phpdoc/src/phpDocumentor/Descriptor/Traits/CanHaveAType.php on line 50
\App\Library\Cms\GtinLibrary  $gtinLibrary) 
Deprecated: Please use getType in phar:///usr/local/bin/phpdoc/src/phpDocumentor/Descriptor/Traits/CanHaveAType.php on line 50

Deprecated: Please use getType in phar:///usr/local/bin/phpdoc/src/phpDocumentor/Descriptor/Traits/CanHaveAType.php on line 50
: mixed

Parameters

Deprecated: Please use getType in phar:///usr/local/bin/phpdoc/src/phpDocumentor/Descriptor/Traits/CanHaveAType.php on line 50 \App\Library\Cms\GtinLibrary $gtinLibrary
Deprecated: Please use getType in phar:///usr/local/bin/phpdoc/src/phpDocumentor/Descriptor/Traits/CanHaveAType.php on line 50

Returns

Deprecated: Please use getType in phar:///usr/local/bin/phpdoc/src/phpDocumentor/Descriptor/Traits/CanHaveAType.php on line 50 mixed —

getGtin()

getGtin(
Deprecated: Please use getType in phar:///usr/local/bin/phpdoc/src/phpDocumentor/Descriptor/Traits/CanHaveAType.php on line 50

Deprecated: Please use getType in phar:///usr/local/bin/phpdoc/src/phpDocumentor/Descriptor/Traits/CanHaveAType.php on line 50
string  $queryString) 
Deprecated: Please use getType in phar:///usr/local/bin/phpdoc/src/phpDocumentor/Descriptor/Traits/CanHaveAType.php on line 50

Deprecated: Please use getType in phar:///usr/local/bin/phpdoc/src/phpDocumentor/Descriptor/Traits/CanHaveAType.php on line 50
: \Illuminate\Http\JsonResponse

Returns existing GTIN for product combination given as deepling, null otherwise

Parameters

Deprecated: Please use getType in phar:///usr/local/bin/phpdoc/src/phpDocumentor/Descriptor/Traits/CanHaveAType.php on line 50 string $queryString
Deprecated: Please use getType in phar:///usr/local/bin/phpdoc/src/phpDocumentor/Descriptor/Traits/CanHaveAType.php on line 50

Returns

Deprecated: Please use getType in phar:///usr/local/bin/phpdoc/src/phpDocumentor/Descriptor/Traits/CanHaveAType.php on line 50 \Illuminate\Http\JsonResponse —

getOrCreateGtin()

getOrCreateGtin(
Deprecated: Please use getType in phar:///usr/local/bin/phpdoc/src/phpDocumentor/Descriptor/Traits/CanHaveAType.php on line 50

Deprecated: Please use getType in phar:///usr/local/bin/phpdoc/src/phpDocumentor/Descriptor/Traits/CanHaveAType.php on line 50
\App\Http\Requests\ContentManagementSystem\GetOrCreateGtinRequest  $request) 
Deprecated: Please use getType in phar:///usr/local/bin/phpdoc/src/phpDocumentor/Descriptor/Traits/CanHaveAType.php on line 50

Deprecated: Please use getType in phar:///usr/local/bin/phpdoc/src/phpDocumentor/Descriptor/Traits/CanHaveAType.php on line 50
: \Illuminate\Http\JsonResponse

Gets or creates GTIN for given product combination

Parameters

Deprecated: Please use getType in phar:///usr/local/bin/phpdoc/src/phpDocumentor/Descriptor/Traits/CanHaveAType.php on line 50 \App\Http\Requests\ContentManagementSystem\GetOrCreateGtinRequest $request
Deprecated: Please use getType in phar:///usr/local/bin/phpdoc/src/phpDocumentor/Descriptor/Traits/CanHaveAType.php on line 50

Returns

Deprecated: Please use getType in phar:///usr/local/bin/phpdoc/src/phpDocumentor/Descriptor/Traits/CanHaveAType.php on line 50 \Illuminate\Http\JsonResponse —

getProductBoxesByGtin()

getProductBoxesByGtin(
Deprecated: Please use getType in phar:///usr/local/bin/phpdoc/src/phpDocumentor/Descriptor/Traits/CanHaveAType.php on line 50

Deprecated: Please use getType in phar:///usr/local/bin/phpdoc/src/phpDocumentor/Descriptor/Traits/CanHaveAType.php on line 50
string  $gtin) 
Deprecated: Please use getType in phar:///usr/local/bin/phpdoc/src/phpDocumentor/Descriptor/Traits/CanHaveAType.php on line 50

Deprecated: Please use getType in phar:///usr/local/bin/phpdoc/src/phpDocumentor/Descriptor/Traits/CanHaveAType.php on line 50
: \Illuminate\Http\JsonResponse

Get product property boxes corresponding to the GTIN

Parameters

Deprecated: Please use getType in phar:///usr/local/bin/phpdoc/src/phpDocumentor/Descriptor/Traits/CanHaveAType.php on line 50 string $gtin

Throws

Deprecated: Please use getType in phar:///usr/local/bin/phpdoc/src/phpDocumentor/Descriptor/Traits/CanHaveAType.php on line 50 \Exception
Deprecated: Please use getType in phar:///usr/local/bin/phpdoc/src/phpDocumentor/Descriptor/Traits/CanHaveAType.php on line 50

Returns

Deprecated: Please use getType in phar:///usr/local/bin/phpdoc/src/phpDocumentor/Descriptor/Traits/CanHaveAType.php on line 50 \Illuminate\Http\JsonResponse —

addGtinsToCsv()

addGtinsToCsv(
Deprecated: Please use getType in phar:///usr/local/bin/phpdoc/src/phpDocumentor/Descriptor/Traits/CanHaveAType.php on line 50

Deprecated: Please use getType in phar:///usr/local/bin/phpdoc/src/phpDocumentor/Descriptor/Traits/CanHaveAType.php on line 50
\Illuminate\Http\Request  $request) 
Deprecated: Please use getType in phar:///usr/local/bin/phpdoc/src/phpDocumentor/Descriptor/Traits/CanHaveAType.php on line 50

Deprecated: Please use getType in phar:///usr/local/bin/phpdoc/src/phpDocumentor/Descriptor/Traits/CanHaveAType.php on line 50
: \Symfony\Component\HttpFoundation\Response

Given CSV data with products, gets or creates GTINs for them and returns CSV with added "gtin" column

Parameters

Deprecated: Please use getType in phar:///usr/local/bin/phpdoc/src/phpDocumentor/Descriptor/Traits/CanHaveAType.php on line 50 \Illuminate\Http\Request $request
Deprecated: Please use getType in phar:///usr/local/bin/phpdoc/src/phpDocumentor/Descriptor/Traits/CanHaveAType.php on line 50

Returns

Deprecated: Please use getType in phar:///usr/local/bin/phpdoc/src/phpDocumentor/Descriptor/Traits/CanHaveAType.php on line 50 \Symfony\Component\HttpFoundation\Response —

getUserToken()

getUserToken() 
Deprecated: Please use getType in phar:///usr/local/bin/phpdoc/src/phpDocumentor/Descriptor/Traits/CanHaveAType.php on line 50

Deprecated: Please use getType in phar:///usr/local/bin/phpdoc/src/phpDocumentor/Descriptor/Traits/CanHaveAType.php on line 50
: string

Deprecated: Please use getType in phar:///usr/local/bin/phpdoc/src/phpDocumentor/Descriptor/Traits/CanHaveAType.php on line 50

Returns

Deprecated: Please use getType in phar:///usr/local/bin/phpdoc/src/phpDocumentor/Descriptor/Traits/CanHaveAType.php on line 50 string —

retrieveUserToken()

retrieveUserToken() 
Deprecated: Please use getType in phar:///usr/local/bin/phpdoc/src/phpDocumentor/Descriptor/Traits/CanHaveAType.php on line 50

Deprecated: Please use getType in phar:///usr/local/bin/phpdoc/src/phpDocumentor/Descriptor/Traits/CanHaveAType.php on line 50
: string

Deprecated: Please use getType in phar:///usr/local/bin/phpdoc/src/phpDocumentor/Descriptor/Traits/CanHaveAType.php on line 50

Returns

Deprecated: Please use getType in phar:///usr/local/bin/phpdoc/src/phpDocumentor/Descriptor/Traits/CanHaveAType.php on line 50 string —

getTemplatePropGroupNames()

getTemplatePropGroupNames(
Deprecated: Please use getType in phar:///usr/local/bin/phpdoc/src/phpDocumentor/Descriptor/Traits/CanHaveAType.php on line 50

Deprecated: Please use getType in phar:///usr/local/bin/phpdoc/src/phpDocumentor/Descriptor/Traits/CanHaveAType.php on line 50
int  $itemGroupId) 
Deprecated: Please use getType in phar:///usr/local/bin/phpdoc/src/phpDocumentor/Descriptor/Traits/CanHaveAType.php on line 50

Deprecated: Please use getType in phar:///usr/local/bin/phpdoc/src/phpDocumentor/Descriptor/Traits/CanHaveAType.php on line 50
: string[]

Returns list of prop groups in given item group's template

Parameters

Deprecated: Please use getType in phar:///usr/local/bin/phpdoc/src/phpDocumentor/Descriptor/Traits/CanHaveAType.php on line 50 int $itemGroupId
Deprecated: Please use getType in phar:///usr/local/bin/phpdoc/src/phpDocumentor/Descriptor/Traits/CanHaveAType.php on line 50

Returns

Deprecated: Please use getType in phar:///usr/local/bin/phpdoc/src/phpDocumentor/Descriptor/Traits/CanHaveAType.php on line 50 string[] —