ClassesBigCommerceImportProcessorsProduct Data Fetcher

Product_Data_Fetcher

Constants

ConstantVisibilityTypeValue
STATE_OPTIONpublic’bigcommerce_import_product_id_fetcher_state’
FILTERED_LISTING_MAPpublic’bigcommerce_filtered_listing_map’

Methods

__construct

Product_Data_Fetcher constructor.

public __construct(\BigCommerce\Api\v3\Api\CatalogApi $catalog, int $limit = 10): mixed

Parameters:

ParameterTypeDescription
$catalog\BigCommerce\Api\v3\Api\CatalogApi
$limitintNumber of products to fetch per request, max of 10 per API limits

run

public run(): mixed

Inherited methods

get_option

protected get_option(string $option, bool $default = false): mixed

Parameters:

ParameterTypeDescription
$optionstring
$defaultbool

update_option

protected update_option(string $option, mixed $value, bool $autoload = false): bool

Parameters:

ParameterTypeDescription
$optionstring
$valuemixed
$autoloadbool

add_option

protected add_option(string $option, mixed $value, bool $autoload = false): bool

Parameters:

ParameterTypeDescription
$optionstring
$valuemixed
$autoloadbool

delete_option

protected delete_option(string $option): bool

Parameters:

ParameterTypeDescription
$optionstring


Automatically generated on 2025-01-21