commercetools-sdk-php-v2
The commercetools platform, import-api and PHP sdks generated from our api reference.
lib
commercetools-api
src
Models
GraphQl
GraphQLRequest.php
1
<?php
2
3
declare(strict_types=1);
9
namespace
Commercetools\Api\Models\GraphQl
;
10
11
use
Commercetools\Base\DateTimeImmutableCollection
;
12
use
Commercetools\Base\JsonObject
;
13
14
interface
GraphQLRequest
extends
JsonObject
15
{
16
public
const
FIELD_QUERY
=
'query'
;
17
public
const
FIELD_OPERATION_NAME
=
'operationName'
;
18
public
const
FIELD_VARIABLES
=
'variables'
;
19
24
public
function
getQuery
();
25
30
public
function
getOperationName
();
31
36
public
function
getVariables
();
37
41
public
function
setQuery
(?
string
$query): void;
42
46
public
function
setOperationName
(?
string
$operationName): void;
47
51
public
function
setVariables
(?
GraphQLVariablesMap
$variables): void;
52
}
Commercetools\Base\DateTimeImmutableCollection
Definition:
DateTimeImmutableCollection.php:21
Commercetools\Api\Models\GraphQl\GraphQLRequest
Definition:
GraphQLRequest.php:15
Commercetools\Api\Models\GraphQl\GraphQLRequest\getOperationName
getOperationName()
Commercetools\Api\Models\GraphQl\GraphQLRequest\getVariables
getVariables()
Commercetools\Api\Models\GraphQl\GraphQLRequest\setOperationName
setOperationName(?string $operationName)
Commercetools\Api\Models\GraphQl\GraphQLRequest\setQuery
setQuery(?string $query)
Commercetools\Api\Models\GraphQl\GraphQLRequest\FIELD_QUERY
const FIELD_QUERY
Definition:
GraphQLRequest.php:16
Commercetools\Api\Models\GraphQl\GraphQLRequest\getQuery
getQuery()
Commercetools\Api\Models\GraphQl\GraphQLRequest\FIELD_VARIABLES
const FIELD_VARIABLES
Definition:
GraphQLRequest.php:18
Commercetools\Api\Models\GraphQl\GraphQLRequest\FIELD_OPERATION_NAME
const FIELD_OPERATION_NAME
Definition:
GraphQLRequest.php:17
Commercetools\Api\Models\GraphQl\GraphQLRequest\setVariables
setVariables(?GraphQLVariablesMap $variables)
Commercetools\Api\Models\GraphQl\GraphQLVariablesMap
Definition:
GraphQLVariablesMap.php:15
Commercetools\Base\JsonObject
Definition:
JsonObject.php:15
Commercetools\Api\Models\GraphQl
Definition:
GraphQLError.php:9
Generated by
1.9.1