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

  • AdapterFactory
  • Guzzle5Adapter
  • Guzzle5Promise
  • Guzzle6Adapter
  • Guzzle6Promise

Interfaces

  • AdapterInterface
  • AdapterOptionInterface
  • AdapterPromiseInterface
  • ConfigAware
  • CorrelationIdAware
  • PromiseGetInterface
  • TokenProviderAware

Interface AdapterInterface

Commercetools\Core\Client\Adapter\AdapterInterface implements Psr\Log\LoggerAwareInterface

Direct known implementers

Commercetools\Core\Client\Adapter\AdapterOptionInterface

Indirect known implementers

Commercetools\Core\Client\Adapter\Guzzle5Adapter, Commercetools\Core\Client\Adapter\Guzzle6Adapter

Namespace: Commercetools\Core\Client\Adapter
Located at Core/Client/Adapter/AdapterInterface.php

Methods summary

public
# setLogger( Psr\Log\LoggerInterface $logger, $logLevel = Commercetools\Core\Client\Adapter\LogLevel::INFO, $formatter = null )
public
# addHandler( $handler )
public Psr\Http\Message\ResponseInterface
# execute( Psr\Http\Message\RequestInterface $request )

Parameters

$request

Returns

Psr\Http\Message\ResponseInterface
public Psr\Http\Message\ResponseInterface
# executeBatch( array $requests )

Parameters

$requests

Returns

Psr\Http\Message\ResponseInterface
public Psr\Http\Message\ResponseInterface
# authenticate( $oauthUri, $clientId, $clientSecret, $formParams )

Parameters

$oauthUri
$clientId
$clientSecret
$formParams

Returns

Psr\Http\Message\ResponseInterface
public Commercetools\Core\Client\Adapter\AdapterPromiseInterface
# executeAsync( Psr\Http\Message\RequestInterface $request )

Parameters

$request

Returns

Commercetools\Core\Client\Adapter\AdapterPromiseInterface
public static string
# getAdapterInfo( )

returns used HTTP Client and version

returns used HTTP Client and version

Returns

string
PHP SDK API documentation generated by ApiGen