Documentation

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

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

getParentResourceId()

public getParentResourceId() : int|null
Return values
int|null

getResourceId()

public getResourceId() : int|null
Return values
int|null

setProductId()

public setProductId(int $productId) : void
Parameters
$productId : int
Return values
void

Search results