ProductModifierImagesApi extends ResourceImageApi
V3ApiBase
Add constructors and some basic scaffolding that will work for all API classes regardless of which endpoints they implement
Table of Contents
- __construct() : mixed
- get() : SingleResourceResponse
- getAll() : PaginatedResponse
- getClient() : Client
- getParentResourceId() : int|null
- getProductId() : int
- getResourceId() : int|null
- setProductId() : void
Methods
__construct()
public
__construct(Client $client[, int|null $resourceId = null ][, int|null $parentResourceId = null ]) : mixed
Parameters
- $client : Client
- $resourceId : int|null = null
- $parentResourceId : int|null = null
Return values
mixed —get()
public
abstract get() : SingleResourceResponse
Return values
SingleResourceResponse —getAll()
public
abstract getAll([array<string|int, mixed> $filters = [] ][, int $page = 1 ][, int $limit = 250 ]) : PaginatedResponse
Parameters
- $filters : array<string|int, mixed> = []
- $page : int = 1
- $limit : int = 250
Return values
PaginatedResponse —getClient()
public
getClient() : Client
Return values
Client —getParentResourceId()
public
getParentResourceId() : int|null
Return values
int|null —getProductId()
public
getProductId() : int
Return values
int —getResourceId()
public
getResourceId() : int|null
Return values
int|null —setProductId()
public
setProductId(int $productId) : void
Parameters
- $productId : int