commercetools-sdk-php-v2
The commercetools platform, import-api and PHP sdks generated from our api reference.
lib
commercetools-api
src
Models
GraphQl
GraphQLError.php
1
<?php
2
3
declare(strict_types=1);
9
namespace
Commercetools\Api\Models\GraphQl
;
10
11
use
Commercetools\Api\Models\Error\GraphQLErrorObject
;
12
use
Commercetools\Base\DateTimeImmutableCollection
;
13
use
Commercetools\Base\JsonObject
;
14
15
interface
GraphQLError
extends
JsonObject
16
{
17
public
const
FIELD_MESSAGE
=
'message'
;
18
public
const
FIELD_LOCATIONS
=
'locations'
;
19
public
const
FIELD_PATH
=
'path'
;
20
public
const
FIELD_EXTENSIONS
=
'extensions'
;
21
26
public
function
getMessage
();
27
32
public
function
getLocations
();
33
38
public
function
getPath
();
39
46
public
function
getExtensions
();
47
51
public
function
setMessage
(?
string
$message): void;
52
56
public
function
setLocations
(?
GraphQLErrorLocationCollection
$locations): void;
57
61
public
function
setPath
(?array $path): void;
62
66
public
function
setExtensions
(?
GraphQLErrorObject
$extensions): void;
67
}
Commercetools\Api\Models\GraphQl\GraphQLErrorLocationCollection
Definition:
GraphQLErrorLocationCollection.php:22
Commercetools\Base\DateTimeImmutableCollection
Definition:
DateTimeImmutableCollection.php:21
Commercetools\Api\Models\Error\GraphQLErrorObject
Definition:
GraphQLErrorObject.php:15
Commercetools\Api\Models\GraphQl\GraphQLError
Definition:
GraphQLError.php:16
Commercetools\Api\Models\GraphQl\GraphQLError\setPath
setPath(?array $path)
Commercetools\Api\Models\GraphQl\GraphQLError\setExtensions
setExtensions(?GraphQLErrorObject $extensions)
Commercetools\Api\Models\GraphQl\GraphQLError\getLocations
getLocations()
Commercetools\Api\Models\GraphQl\GraphQLError\setLocations
setLocations(?GraphQLErrorLocationCollection $locations)
Commercetools\Api\Models\GraphQl\GraphQLError\setMessage
setMessage(?string $message)
Commercetools\Api\Models\GraphQl\GraphQLError\FIELD_EXTENSIONS
const FIELD_EXTENSIONS
Definition:
GraphQLError.php:20
Commercetools\Api\Models\GraphQl\GraphQLError\getPath
getPath()
Commercetools\Api\Models\GraphQl\GraphQLError\FIELD_PATH
const FIELD_PATH
Definition:
GraphQLError.php:19
Commercetools\Api\Models\GraphQl\GraphQLError\FIELD_MESSAGE
const FIELD_MESSAGE
Definition:
GraphQLError.php:17
Commercetools\Api\Models\GraphQl\GraphQLError\FIELD_LOCATIONS
const FIELD_LOCATIONS
Definition:
GraphQLError.php:18
Commercetools\Api\Models\GraphQl\GraphQLError\getExtensions
getExtensions()
Commercetools\Api\Models\GraphQl\GraphQLError\getMessage
getMessage()
Commercetools\Base\JsonObject
Definition:
JsonObject.php:15
Commercetools\Api\Models\GraphQl
Definition:
GraphQLError.php:9
Generated by
1.9.1