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

  • InStoreEndpoint
  • InStoreRequestDecorator
  • InStoreRequests

Traits

  • InStoreTrait

Class InStoreRequestDecorator

Interface ClientRequestInterface

Commercetools\Core\Request\InStores\InStoreRequestDecorator implements Commercetools\Core\Request\ClientRequestInterface
Namespace: Commercetools\Core\Request\InStores
Located at Core/Request/InStores/InStoreRequestDecorator.php

Methods summary

public
# __construct( string $storeKey, Commercetools\Core\Request\ClientRequestInterface $request )

InStoreDecorator constructor.

InStoreDecorator constructor.

Parameters

$storeKey
$request
public string
# getIdentifier( )

Returns

string

Implementation of

Commercetools\Core\Request\ClientRequestInterface::getIdentifier()
public Commercetools\Core\Request\InStores\InStoreRequestDecorator
# setIdentifier( string $identifier )

Parameters

$identifier

Returns

Commercetools\Core\Request\InStores\InStoreRequestDecorator
$this

Implementation of

Commercetools\Core\Request\ClientRequestInterface::setIdentifier()
public mixed
# mapResult( array $result, Commercetools\Core\Model\Common\Context $context = null )

Parameters

$result
$context

Returns

mixed

Implementation of

Commercetools\Core\Request\ClientRequestInterface::mapResult()
public mixed
# mapResponse( Commercetools\Core\Response\ApiResponseInterface $response )

Parameters

$response

Returns

mixed

Implementation of

Commercetools\Core\Request\ClientRequestInterface::mapResponse()
public mixed
# map( array $data, Commercetools\Core\Model\Common\Context $context = null, Commercetools\Core\Model\MapperInterface $mapper = null )

Parameters

$data
$context
$mapper

Returns

mixed

Implementation of

Commercetools\Core\Request\ClientRequestInterface::map()
public mixed
# mapFromResponse( Commercetools\Core\Response\ApiResponseInterface|Psr\Http\Message\ResponseInterface $response, Commercetools\Core\Model\MapperInterface $mapper = null )

Parameters

$response
$mapper

Returns

mixed

Implementation of

Commercetools\Core\Request\ClientRequestInterface::mapFromResponse()
public Commercetools\Core\Response\ApiResponseInterface
# executeWithClient( Commercetools\Core\Client $client, array $headers = null )

Parameters

$client
$headers

Returns

Commercetools\Core\Response\ApiResponseInterface
public static Commercetools\Core\Request\InStores\InStoreRequestDecorator
# ofStoreKeyAndRequest( string $storeKey, Commercetools\Core\Request\ClientRequestInterface $request )

Parameters

$storeKey
$request

Returns

Commercetools\Core\Request\InStores\InStoreRequestDecorator
PHP SDK API documentation generated by ApiGen