ClassesBigCommerceImportProcessorsListing Fetcher

Listing_Fetcher

Constants

ConstantVisibilityTypeValue
STATE_OPTIONpublic’bigcommerce_import_listing_id_fetcher_state’
PRODUCT_LISTING_MAPpublic’bigcommerce_product_listing_map’

Methods

__construct

Listing_Fetcher constructor.

public __construct(\BigCommerce\Api\v3\Api\ChannelsApi $channels, \WP_Term $channel_term, int $limit = 100): mixed

Parameters:

ParameterTypeDescription
$channels\BigCommerce\Api\v3\Api\ChannelsApiThe Channels API connection to use for the import
$channel_term\WP_Term
$limitintNumber of listing IDs to fetch per request

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