Documentation

ProductBulkPricingRulesApi 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

BULK_PRICING_RULE_ENDPOINT  = 'catalog/products/%d/bulk-pricing-rules/%d'
BULK_PRICING_RULES_ENDPOINT  = 'catalog/products/%d/bulk-pricing-rules'
RESOURCE_NAME  = 'bulk-pricing-rules'
__construct()  : mixed
get()  : ProductBulkPricingRuleResponse
getAll()  : ProductBulkPricingRulesResponse
getClient()  : Client
getParentResourceId()  : int|null
getResourceId()  : int|null

Constants

BULK_PRICING_RULE_ENDPOINT

public mixed BULK_PRICING_RULE_ENDPOINT = 'catalog/products/%d/bulk-pricing-rules/%d'

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

getParentResourceId()

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

getResourceId()

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

Search results