Class ProductImageUploadRequest
- Commercetools\Core\Request\AbstractApiRequest implements Commercetools\Core\Request\ClientRequestInterface, Commercetools\Core\Model\Common\ContextAwareInterface uses Commercetools\Core\Model\Common\ContextTrait
- Commercetools\Core\Request\Products\ProductImageUploadRequest uses Commercetools\Core\Request\StagedTrait
Namespace: Commercetools\Core\Request\Products
API documentation: https://docs.commercetools.com/http-api-projects-products.html#upload-a-product-image
Located at Core/Request/Products/ProductImageUploadRequest.php
API documentation: https://docs.commercetools.com/http-api-projects-products.html#upload-a-product-image
Located at Core/Request/Products/ProductImageUploadRequest.php
Methods summary
public
|
#
__construct( string $id, Psr\Http\Message\UploadedFileInterface $file,
ProductImageUploadRequest constructor. |
public
string
|
|
public
integer
|
|
public
string
|
|
public static
|
#
ofIdVariantIdAndFile( string $id, integer $variantId, Psr\Http\Message\UploadedFileInterface $file,
|
public static
|
#
ofIdSkuAndFile( string $id, string $sku, Psr\Http\Message\UploadedFileInterface $file,
|
Methods inherited from Commercetools\Core\Request\AbstractApiRequest
addParam()
,
addParamObject()
,
executeWithClient()
,
getIdentifier()
,
getParamCount()
,
map()
,
mapFromResponse()
,
mapResponse()
,
setExternalUserId()
,
setIdentifier()
Methods inherited from Commercetools\Core\Model\Common\ContextAwareInterface
getContext()
,
getContextCallback()
,
setContext()
,
setContextIfNull()
Methods inherited from Commercetools\Core\Request\ClientRequestInterface
Methods used from Commercetools\Core\Request\StagedTrait
Methods used from Commercetools\Core\Model\Common\ContextTrait
getContext()
,
getContextCallback()
,
setContext()
,
setContextIfNull()
Magic methods summary
public
|
|
public
|
#
mapFromResponse(
|