PriceListAssignmentsApi
extends V3ApiBase
in package
V3ApiBase
Add constructors and some basic scaffolding that will work for all API classes regardless of which endpoints they implement
Tags
Table of Contents
- FILTER_CHANNEL_ID = 'channel_id'
- FILTER_CUSTOMER_GROUP_ID = 'customer_group_id'
- FILTER_ID = 'id'
- FILTER_PRICE_LIST_ID = 'price_list_id'
- __construct() : mixed
- create() : ResponseInterface
- deleteAll() : ResponseInterface
- getAll() : PriceListAssignmentsResponse
- getClient() : Client
- getParentResourceId() : int|null
- getResourceId() : int|null
Constants
FILTER_CHANNEL_ID
public
mixed
FILTER_CHANNEL_ID
= 'channel_id'
Tags
FILTER_CUSTOMER_GROUP_ID
public
mixed
FILTER_CUSTOMER_GROUP_ID
= 'customer_group_id'
Tags
FILTER_ID
public
mixed
FILTER_ID
= 'id'
Tags
FILTER_PRICE_LIST_ID
public
mixed
FILTER_PRICE_LIST_ID
= 'price_list_id'
Tags
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
Tags
Return values
mixed —create()
public
create(PriceListAssignment $assignment) : ResponseInterface
Parameters
- $assignment : PriceListAssignment
Tags
Return values
ResponseInterface —deleteAll()
public
deleteAll(array<string|int, mixed> $filters) : ResponseInterface
Parameters
- $filters : array<string|int, mixed>
Tags
Return values
ResponseInterface —getAll()
public
getAll([array<string|int, mixed> $filters = [] ]) : PriceListAssignmentsResponse
Parameters
- $filters : array<string|int, mixed> = []
Tags
Return values
PriceListAssignmentsResponse —getClient()
public
getClient() : Client
Tags
Return values
Client —getParentResourceId()
public
getParentResourceId() : int|null
Tags
Return values
int|null —getResourceId()
public
getResourceId() : int|null