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 AbstractByKeyHeadRequest

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\AbstractByIdHeadRequest uses Commercetools\Core\Request\ExpandTrait
Extended by Commercetools\Core\Request\AbstractByKeyHeadRequest

Direct known subclasses

Commercetools\Core\Request\Products\ProductByKeyHeadRequest

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

Methods summary

public string
# getKey( )

Returns

string
public Commercetools\Core\Request\AbstractByKeyHeadRequest
# setKey( string $key )

Parameters

$key

Returns

Commercetools\Core\Request\AbstractByKeyHeadRequest
$this

Methods inherited from Commercetools\Core\Request\AbstractByIdHeadRequest

__construct(), getId(), setId()

Methods inherited from Commercetools\Core\Request\AbstractApiRequest

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

Methods inherited from Commercetools\Core\Request\ClientRequestInterface

mapResult()

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

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

Methods used from Commercetools\Core\Request\ExpandTrait

addParamObject(), expand()

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

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

Magic methods summary

public Commercetools\Core\Response\ResourceResponse
# executeWithClient( Commercetools\Core\Client $client )

Parameters

$client

Returns

Commercetools\Core\Response\ResourceResponse

Overrides

Commercetools\Core\Request\AbstractApiRequest::executeWithClient

Constants summary

Constants inherited from Commercetools\Core\Request\AbstractApiRequest

EXTERNAL_USER_HEADER

PHP SDK API documentation generated by ApiGen