PriceListsApi extends ResourceApi
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
- assignments() : PriceListAssignmentsApi
- get() : PriceListResponse
- getAll() : PriceListsResponse
- getClient() : Client
- getParentResourceId() : int|null
- getResourceId() : int|null
- records() : PriceListRecordsApi
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 —assignments()
public
assignments() : PriceListAssignmentsApi
Return values
PriceListAssignmentsApi —get()
public
get() : PriceListResponse
Return values
PriceListResponse —getAll()
public
getAll([array<string|int, mixed> $filters = [] ][, int $page = 1 ][, int $limit = 250 ]) : PriceListsResponse
Parameters
- $filters : array<string|int, mixed> = []
- $page : int = 1
- $limit : int = 250
Return values
PriceListsResponse —getClient()
public
getClient() : Client
Return values
Client —getParentResourceId()
public
getParentResourceId() : int|null
Return values
int|null —getResourceId()
public
getResourceId() : int|null
Return values
int|null —records()
public
records() : PriceListRecordsApi