Product_Data_Fetcher
- Full name:
\BigCommerce\Import\Processors\Product_Data_Fetcher
- This class implements:
\BigCommerce\Import\Processors\Import_Processor
Constants
Constant | Visibility | Type | Value |
---|---|---|---|
STATE_OPTION | public | ’bigcommerce_import_product_id_fetcher_state’ | |
FILTERED_LISTING_MAP | public | ’bigcommerce_filtered_listing_map’ |
Methods
__construct
Product_Data_Fetcher constructor.
public __construct(\BigCommerce\Api\v3\Api\CatalogApi $catalog, int $limit = 10): mixed
Parameters:
Parameter | Type | Description |
---|---|---|
$catalog | \BigCommerce\Api\v3\Api\CatalogApi | |
$limit | int | Number 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:
Parameter | Type | Description |
---|---|---|
$option | string | |
$default | bool |
update_option
protected update_option(string $option, mixed $value, bool $autoload = false): bool
Parameters:
Parameter | Type | Description |
---|---|---|
$option | string | |
$value | mixed | |
$autoload | bool |
add_option
protected add_option(string $option, mixed $value, bool $autoload = false): bool
Parameters:
Parameter | Type | Description |
---|---|---|
$option | string | |
$value | mixed | |
$autoload | bool |
delete_option
protected delete_option(string $option): bool
Parameters:
Parameter | Type | Description |
---|---|---|
$option | string |
Automatically generated on 2025-01-21