Composable Commerce PHP SDKPHP SDK
  • Namespace
  • Class
  • Tree

Namespaces

  • Commercetools
    • Commons
      • Helper
    • Core
      • Builder
        • Request
        • Update
      • Cache
      • Client
        • Adapter
        • OAuth
      • Error
      • Helper
        • Annotate
        • State
          • Renderer
        • Subscriber
          • Log
      • Model
        • ApiClient
        • Cart
        • CartDiscount
        • Category
        • Channel
        • Common
        • Customer
        • CustomerGroup
        • CustomField
        • CustomObject
        • DiscountCode
        • Extension
        • Inventory
        • Message
        • Order
        • OrderEdit
        • Payment
        • Product
          • Search
        • ProductDiscount
        • ProductSelection
        • ProductType
        • Project
        • Review
        • ShippingMethod
        • ShoppingList
        • State
        • Store
        • Subscription
        • TaxCategory
        • Type
        • Zone
      • Request
        • ApiClients
        • CartDiscounts
          • Command
        • Carts
          • Command
        • Categories
          • Command
        • Channels
          • Command
        • CustomerGroups
          • Command
        • Customers
          • Command
        • CustomField
          • Command
        • CustomObjects
        • DiscountCodes
          • Command
        • Extensions
          • Command
        • GraphQL
        • InStores
        • Inventory
          • Command
        • Me
          • Command
        • Messages
        • OrderEdits
          • Command
          • StagedOrder
            • Command
        • Orders
          • Command
        • Payments
          • Command
        • ProductDiscounts
          • Command
        • Products
          • Command
        • ProductSelections
          • Command
        • ProductTypes
          • Command
        • Project
          • Command
        • Query
        • Reviews
          • Command
        • ShippingMethods
          • Command
        • ShoppingLists
          • Command
        • States
          • Command
        • Stores
          • Command
        • Subscriptions
          • Command
        • TaxCategories
          • Command
        • Types
          • Command
        • Zones
          • Command
      • Response

Classes

  • AbstractAction
  • AbstractApiRequest
  • AbstractByIdGetRequest
  • AbstractByIdHeadRequest
  • AbstractByKeyGetRequest
  • AbstractByKeyHeadRequest
  • AbstractByTokenGetRequest
  • AbstractCreateRequest
  • AbstractDeleteByKeyRequest
  • AbstractDeleteRequest
  • AbstractHeadRequest
  • AbstractProjectionRequest
  • AbstractQueryRequest
  • AbstractUpdateByKeyRequest
  • AbstractUpdateRequest
  • PsrRequest

Interfaces

  • ClientRequestInterface
  • PageRequestInterface
  • QueryAllRequestInterface
  • QueryRequestInterface
  • SortRequestInterface
  • WithTotalRequestInterface

Traits

  • CustomerIdTrait
  • DataErasureTrait
  • ExpandTrait
  • PageTrait
  • PriceSelectTrait
  • QueryTrait
  • SortTrait
  • StagedTrait
  • WithTotalTrait

Class AbstractQueryRequest

Commercetools\Core\Request\AbstractApiRequest implements Commercetools\Core\Request\ClientRequestInterface, Commercetools\Core\Model\Common\ContextAwareInterface uses Commercetools\Core\Model\Common\ContextTrait
Extended by Commercetools\Core\Request\AbstractQueryRequest implements Commercetools\Core\Request\QueryAllRequestInterface uses Commercetools\Core\Request\QueryTrait, Commercetools\Core\Request\PageTrait, Commercetools\Core\Request\SortTrait, Commercetools\Core\Request\ExpandTrait, Commercetools\Core\Request\WithTotalTrait

Direct known subclasses

Commercetools\Core\Request\ApiClients\ApiClientQueryRequest, Commercetools\Core\Request\CartDiscounts\CartDiscountQueryRequest, Commercetools\Core\Request\Inventory\InventoryQueryRequest, Commercetools\Core\Request\Me\MeCartQueryRequest, Commercetools\Core\Request\Me\MeOrderQueryRequest, Commercetools\Core\Request\Me\MeShoppingListQueryRequest, Commercetools\Core\Request\Messages\MessageQueryRequest, Commercetools\Core\Request\OrderEdits\OrderEditQueryRequest, Commercetools\Core\Request\Orders\OrderQueryRequest, Commercetools\Core\Request\Payments\PaymentQueryRequest, Commercetools\Core\Request\ProductDiscounts\ProductDiscountQueryRequest, Commercetools\Core\Request\Products\ProductByIdProductSelectionsGetRequest, Commercetools\Core\Request\Carts\CartQueryRequest, Commercetools\Core\Request\Products\ProductByKeyProductSelectionsGetRequest, Commercetools\Core\Request\Products\ProductProjectionQueryRequest, Commercetools\Core\Request\Products\ProductQueryRequest, Commercetools\Core\Request\ProductSelections\ProductSelectionAssignmentsQueryRequest, Commercetools\Core\Request\ProductSelections\ProductSelectionByIdProductsGetRequest, Commercetools\Core\Request\ProductSelections\ProductSelectionByKeyProductsGetRequest, Commercetools\Core\Request\ProductSelections\ProductSelectionQueryRequest, Commercetools\Core\Request\ProductTypes\ProductTypeQueryRequest, Commercetools\Core\Request\Reviews\ReviewQueryRequest, Commercetools\Core\Request\ShippingMethods\ShippingMethodQueryRequest, Commercetools\Core\Request\Categories\CategoryQueryRequest, Commercetools\Core\Request\ShoppingLists\ShoppingListQueryRequest, Commercetools\Core\Request\States\StateQueryRequest, Commercetools\Core\Request\Stores\StoreQueryRequest, Commercetools\Core\Request\Subscriptions\SubscriptionQueryRequest, Commercetools\Core\Request\TaxCategories\TaxCategoryQueryRequest, Commercetools\Core\Request\Types\TypeQueryRequest, Commercetools\Core\Request\Zones\ZoneQueryRequest, Commercetools\Core\Request\Channels\ChannelQueryRequest, Commercetools\Core\Request\CustomerGroups\CustomerGroupQueryRequest, Commercetools\Core\Request\Customers\CustomerQueryRequest, Commercetools\Core\Request\CustomObjects\CustomObjectQueryRequest, Commercetools\Core\Request\DiscountCodes\DiscountCodeQueryRequest, Commercetools\Core\Request\Extensions\ExtensionQueryRequest

Abstract
Namespace: Commercetools\Core\Request
Located at Core/Request/AbstractQueryRequest.php

Methods summary

public Commercetools\Core\Model\Common\Collection
# map( array $result, Commercetools\Core\Model\Common\Context $context = null, Commercetools\Core\Model\MapperInterface $mapper = null )

Parameters

$result
$context
$mapper

Returns

Commercetools\Core\Model\Common\Collection

Overrides

Commercetools\Core\Request\AbstractApiRequest::map

Implementation of

Commercetools\Core\Request\ClientRequestInterface::map()

Methods inherited from Commercetools\Core\Request\AbstractApiRequest

__construct(), addParam(), addParamObject(), executeWithClient(), getIdentifier(), getParamCount(), mapFromResponse(), mapResponse(), setExternalUserId(), setIdentifier()

Methods inherited from Commercetools\Core\Model\Common\ContextAwareInterface

getContext(), getContextCallback(), setContext(), setContextIfNull()

Methods inherited from Commercetools\Core\Request\ClientRequestInterface

mapResult()

Methods inherited from Commercetools\Core\Request\WithTotalRequestInterface

withTotal()

Methods inherited from Commercetools\Core\Request\SortRequestInterface

sort()

Methods inherited from Commercetools\Core\Request\QueryRequestInterface

where()

Methods inherited from Commercetools\Core\Request\PageRequestInterface

limit(), offset()

Methods used from Commercetools\Core\Request\QueryTrait

addParamObject(), where()

Methods used from Commercetools\Core\Request\PageTrait

limit(), offset()

Methods used from Commercetools\Core\Request\SortTrait

getParamCount(), sort()

Methods used from Commercetools\Core\Request\ExpandTrait

expand()

Methods used from Commercetools\Core\Request\WithTotalTrait

withTotal()

Methods used from Commercetools\Core\Model\Common\ContextTrait

getContext(), getContextCallback(), setContext(), setContextIfNull()

Magic methods summary

public Commercetools\Core\Response\PagedQueryResponse
# executeWithClient( Commercetools\Core\Client $client, array $headers = null )

Parameters

$client
$headers

Returns

Commercetools\Core\Response\PagedQueryResponse

Overrides

Commercetools\Core\Request\AbstractApiRequest::executeWithClient

Constants summary

Constants inherited from Commercetools\Core\Request\AbstractApiRequest

EXTERNAL_USER_HEADER

Constants inherited from Commercetools\Core\Request\PageRequestInterface

MAX_PAGE_SIZE

PHP SDK API documentation generated by ApiGen