Warning: Class "Automattic\WooCommerce\StoreApi\Routes\V1\CartItems" not found in /htdocs/wp-content/plugins/woocommerce/src/StoreApi/deprecated.php on line 73
his account. * @param string $accountId The ID of the account for which to retrieve * accessible Business Profiles. * @param array $optParams Optional parameters. * @return LiasettingsGetAccessibleGmbAccountsResponse * @throws \Google\Service\Exception */ public function getaccessiblegmbaccounts($merchantId, $accountId, $optParams = []) { $params = ['merchantId' => $merchantId, 'accountId' => $accountId]; $params = array_merge($params, $optParams); return $this->call('getaccessiblegmbaccounts', [$params], LiasettingsGetAccessibleGmbAccountsResponse::class); } /** * Lists the LIA settings of the sub-accounts in your Merchant Center account. * (liasettings.listLiasettings) * * @param string $merchantId The ID of the managing account. This must be a * multi-client account. * @param array $optParams Optional parameters. * * @opt_param string maxResults The maximum number of LIA settings to return in * the response, used for paging. * @opt_param string pageToken The token returned by the previous request. * @return LiasettingsListResponse * @throws \Google\Service\Exception */ public function listLiasettings($merchantId, $optParams = []) { $params = ['merchantId' => $merchantId]; $params = array_merge($params, $optParams); return $this->call('list', [$params], LiasettingsListResponse::class); } /** * Retrieves the list of POS data providers that have active settings for the * all eiligible countries. (liasettings.listposdataproviders) * * @param array $optParams Optional parameters. * @return LiasettingsListPosDataProvidersResponse * @throws \Google\Service\Exception */ public function listposdataproviders($optParams = []) { $params = []; $params = array_merge($params, $optParams); return $this->call('listposdataproviders', [$params], LiasettingsListPosDataProvidersResponse::class); } /** * Requests access to a specified Business Profile. * (liasettings.requestgmbaccess) * * @param string $merchantId The ID of the managing account. If this parameter * is not the same as accountId, then this account must be a multi-client * account and `accountId` must be the ID of a sub-account of this account. * @param string $accountId The ID of the account for which Business Profile * access is requested. * @param string $gmbEmail The email of the Business Profile. * @param array $optParams Optional parameters. * @return LiasettingsRequestGmbAccessResponse * @throws \Google\Service\Exception */ public function requestgmbaccess($merchantId, $accountId, $gmbEmail, $optParams = []) { $params = ['merchantId' => $merchantId, 'accountId' => $accountId, 'gmbEmail' => $gmbEmail]; $params = array_merge($params, $optParams); return $this->call('requestgmbaccess', [$params], LiasettingsRequestGmbAccessResponse::class); } /** * Requests inventory validation for the specified country. * (liasettings.requestinventoryverification) * * @param string $merchantId The ID of the managing account. If this parameter * is not the same as accountId, then this account must be a multi-client * account and `accountId` must be the ID of a sub-account of this account. * @param string $accountId The ID of the account that manages the order. This * cannot be a multi-client account. * @param string $country The country for which inventory validation is * requested. * @param array $optParams Optional parameters. * @return LiasettingsRequestInventoryVerificationResponse * @throws \Google\Service\Exception */ public function requestinventoryverification($merchantId, $accountId, $country, $optParams = []) { $params = ['merchantId' => $merchantId, 'accountId' => $accountId, 'country' => $country]; $params = array_merge($params, $optParams); return $this->call('requestinventoryverification', [$params], LiasettingsRequestInventoryVerificationResponse::class); } /** * Sets the inventory verification contract for the specified country. * (liasettings.setinventoryverificationcontact) * * @param string $merchantId The ID of the managing account. If this parameter * is not the same as accountId, then this account must be a multi-client * account and `accountId` must be the ID of a sub-account of this account. * @param string $accountId The ID of the account that manages the order. This * cannot be a multi-client account. * @param string $country The country for which inventory verification is * requested. * @param string $language The language for which inventory verification is * requested. * @param string $contactName The name of the inventory verification contact. * @param string $contactEmail The email of the inventory verification contact. * @param array $optParams Optional parameters. * @return LiasettingsSetInventoryVerificationContactResponse * @throws \Google\Service\Exception */ public function setinventoryverificationcontact($merchantId, $accountId, $country, $language, $contactName, $contactEmail, $optParams = []) { $params = ['merchantId' => $merchantId, 'accountId' => $accountId, 'country' => $country, 'language' => $language, 'contactName' => $contactName, 'contactEmail' => $contactEmail]; $params = array_merge($params, $optParams); return $this->call('setinventoryverificationcontact', [$params], LiasettingsSetInventoryVerificationContactResponse::class); } /** * Sets the omnichannel experience for the specified country. Only supported for * merchants whose POS data provider is trusted to enable the corresponding * experience. For more context, see these help articles [about * LFP](https://support.google.com/merchants/answer/7676652) and [how to get * started](https://support.google.com/merchants/answer/7676578) with it. * (liasettings.setomnichannelexperience) * * @param string $merchantId The ID of the managing account. If this parameter * is not the same as accountId, then this account must be a multi-client * account and `accountId` must be the ID of a sub-account of this account. * @param string $accountId The ID of the account for which to retrieve * accessible Business Profiles. * @param array $optParams Optional parameters. * * @opt_param string country The CLDR country code (for example, "US") for which * the omnichannel experience is selected. * @opt_param string lsfType The Local Store Front (LSF) type for this country. * Acceptable values are: - "`ghlsf`" (Google-Hosted Local Store Front) - * "`mhlsfBasic`" (Merchant-Hosted Local Store Front Basic) - "`mhlsfFull`" * (Merchant-Hosted Local Store Front Full) More details about these types can * be found here. * @opt_param string pickupTypes The Pickup types for this country. Acceptable * values are: - "`pickupToday`" - "`pickupLater`" * @return LiaOmnichannelExperience * @throws \Google\Service\Exception */ public function setomnichannelexperience($merchantId, $accountId, $optParams = []) { $params = ['merchantId' => $merchantId, 'accountId' => $accountId]; $params = array_merge($params, $optParams); return $this->call('setomnichannelexperience', [$params], LiaOmnichannelExperience::class); } /** * Sets the POS data provider for the specified country. * (liasettings.setposdataprovider) * * @param string $merchantId The ID of the managing account. If this parameter * is not the same as accountId, then this account must be a multi-client * account and `accountId` must be the ID of a sub-account of this account. * @param string $accountId The ID of the account for which to retrieve * accessible Business Profiles. * @param string $country The country for which the POS data provider is * selected. * @param array $optParams Optional parameters. * * @opt_param string posDataProviderId The ID of POS data provider. * @opt_param string posExternalAccountId The account ID by which this merchant * is known to the POS data provider. * @return LiasettingsSetPosDataProviderResponse * @throws \Google\Service\Exception */ public function setposdataprovider($merchantId, $accountId, $country, $optParams = []) { $params = ['merchantId' => $merchantId, 'accountId' => $accountId, 'country' => $country]; $params = array_merge($params, $optParams); return $this->call('setposdataprovider', [$params], LiasettingsSetPosDataProviderResponse::class); } /** * Updates the LIA settings of the account. Any fields that are not provided are * deleted from the resource. (liasettings.update) * * @param string $merchantId The ID of the managing account. If this parameter * is not the same as accountId, then this account must be a multi-client * account and `accountId` must be the ID of a sub-account of this account. * @param string $accountId The ID of the account for which to get or update LIA * settings. * @param LiaSettingsModel $postBody * @param array $optParams Optional parameters. * @return LiaSettingsModel * @throws \Google\Service\Exception */ public function update($merchantId, $accountId, LiaSettingsModel $postBody, $optParams = []) { $params = ['merchantId' => $merchantId, 'accountId' => $accountId, 'postBody' => $postBody]; $params = array_merge($params, $optParams); return $this->call('update', [$params], LiaSettingsModel::class); } } // Adding a class alias for backwards compatibility with the previous class name. class_alias(Liasettings::class, 'Google_Service_ShoppingContent_Resource_Liasettings');
Fatal error: Uncaught Error: Class "Automattic\WooCommerce\GoogleListingsAndAds\Vendor\Google\Service\ShoppingContent\Resource\Liasettings" not found in /htdocs/wp-content/plugins/google-listings-and-ads/vendor/google/apiclient-services/src/ShoppingContent.php:1196 Stack trace: #0 [internal function]: Automattic\WooCommerce\GoogleListingsAndAds\Vendor\Google\Service\ShoppingContent->__construct(Object(Automattic\WooCommerce\GoogleListingsAndAds\Vendor\Google\Client), 'https://api.woo...') #1 /htdocs/wp-content/plugins/google-listings-and-ads/vendor/league/container/src/Definition/Definition.php(256): ReflectionClass->newInstanceArgs(Array) #2 /htdocs/wp-content/plugins/google-listings-and-ads/vendor/league/container/src/Definition/Definition.php(212): Automattic\WooCommerce\GoogleListingsAndAds\Vendor\League\Container\Definition\Definition->resolveClass('Automattic\\WooC...') #3 /htdocs/wp-content/plugins/google-listings-and-ads/vendor/league/container/src/Definition/DefinitionAggregate.php(94): Automattic\WooCommerce\GoogleListingsAndAds\Vendor\League\Container\Definition\Definition->resolve(false) #4 /htdocs/wp-content/plugins/google-listings-and-ads/vendor/league/container/src/Container.php(157): Automattic\WooCommerce\GoogleListingsAndAds\Vendor\League\Container\Definition\DefinitionAggregate->resolve('Automattic\\WooC...', false) #5 /htdocs/wp-content/plugins/google-listings-and-ads/vendor/league/container/src/Argument/ArgumentResolverTrait.php(45): Automattic\WooCommerce\GoogleListingsAndAds\Vendor\League\Container\Container->get('Automattic\\WooC...') #6 [internal function]: Automattic\WooCommerce\GoogleListingsAndAds\Vendor\League\Container\Definition\Definition->Automattic\WooCommerce\GoogleListingsAndAds\Vendor\League\Container\Argument\{closure}('Automattic\\WooC...') #7 /htdocs/wp-content/plugins/google-listings-and-ads/vendor/league/container/src/Argument/ArgumentResolverTrait.php(19): array_map(Object(Closure), Array) #8 /htdocs/wp-content/plugins/google-listings-and-ads/vendor/league/container/src/Definition/Definition.php(253): Automattic\WooCommerce\GoogleListingsAndAds\Vendor\League\Container\Definition\Definition->resolveArguments(Array) #9 /htdocs/wp-content/plugins/google-listings-and-ads/vendor/league/container/src/Definition/Definition.php(212): Automattic\WooCommerce\GoogleListingsAndAds\Vendor\League\Container\Definition\Definition->resolveClass('Automattic\\WooC...') #10 /htdocs/wp-content/plugins/google-listings-and-ads/vendor/league/container/src/Definition/DefinitionAggregate.php(94): Automattic\WooCommerce\GoogleListingsAndAds\Vendor\League\Container\Definition\Definition->resolve(false) #11 /htdocs/wp-content/plugins/google-listings-and-ads/vendor/league/container/src/Container.php(157): Automattic\WooCommerce\GoogleListingsAndAds\Vendor\League\Container\Definition\DefinitionAggregate->resolve('Automattic\\WooC...', false) #12 /htdocs/wp-content/plugins/google-listings-and-ads/vendor/league/container/src/Argument/ArgumentResolverTrait.php(45): Automattic\WooCommerce\GoogleListingsAndAds\Vendor\League\Container\Container->get('Automattic\\WooC...') #13 [internal function]: Automattic\WooCommerce\GoogleListingsAndAds\Vendor\League\Container\Definition\Definition->Automattic\WooCommerce\GoogleListingsAndAds\Vendor\League\Container\Argument\{closure}('Automattic\\WooC...') #14 /htdocs/wp-content/plugins/google-listings-and-ads/vendor/league/container/src/Argument/ArgumentResolverTrait.php(19): array_map(Object(Closure), Array) #15 /htdocs/wp-content/plugins/google-listings-and-ads/vendor/league/container/src/Definition/Definition.php(253): Automattic\WooCommerce\GoogleListingsAndAds\Vendor\League\Container\Definition\Definition->resolveArguments(Array) #16 /htdocs/wp-content/plugins/google-listings-and-ads/vendor/league/container/src/Definition/Definition.php(212): Automattic\WooCommerce\GoogleListingsAndAds\Vendor\League\Container\Definition\Definition->resolveClass('Automattic\\WooC...') #17 /htdocs/wp-content/plugins/google-listings-and-ads/vendor/league/container/src/Definition/DefinitionAggregate.php(94): Automattic\WooCommerce\GoogleListingsAndAds\Vendor\League\Container\Definition\Definition->resolve(false) #18 /htdocs/wp-content/plugins/google-listings-and-ads/vendor/league/container/src/Container.php(157): Automattic\WooCommerce\GoogleListingsAndAds\Vendor\League\Container\Definition\DefinitionAggregate->resolve('Automattic\\WooC...', false) #19 /htdocs/wp-content/plugins/google-listings-and-ads/vendor/league/container/src/Argument/ArgumentResolverTrait.php(45): Automattic\WooCommerce\GoogleListingsAndAds\Vendor\League\Container\Container->get('Automattic\\WooC...') #20 [internal function]: Automattic\WooCommerce\GoogleListingsAndAds\Vendor\League\Container\Definition\Definition->Automattic\WooCommerce\GoogleListingsAndAds\Vendor\League\Container\Argument\{closure}('Automattic\\WooC...') #21 /htdocs/wp-content/plugins/google-listings-and-ads/vendor/league/container/src/Argument/ArgumentResolverTrait.php(19): array_map(Object(Closure), Array) #22 /htdocs/wp-content/plugins/google-listings-and-ads/vendor/league/container/src/Definition/Definition.php(253): Automattic\WooCommerce\GoogleListingsAndAds\Vendor\League\Container\Definition\Definition->resolveArguments(Array) #23 /htdocs/wp-content/plugins/google-listings-and-ads/vendor/league/container/src/Definition/Definition.php(212): Automattic\WooCommerce\GoogleListingsAndAds\Vendor\League\Container\Definition\Definition->resolveClass('Automattic\\WooC...') #24 /htdocs/wp-content/plugins/google-listings-and-ads/vendor/league/container/src/Definition/DefinitionAggregate.php(106): Automattic\WooCommerce\GoogleListingsAndAds\Vendor\League\Container\Definition\Definition->resolve(false) #25 /htdocs/wp-content/plugins/google-listings-and-ads/vendor/league/container/src/Container.php(162): Automattic\WooCommerce\GoogleListingsAndAds\Vendor\League\Container\Definition\DefinitionAggregate->resolveTagged('Automattic\\WooC...', false) #26 /htdocs/wp-content/plugins/google-listings-and-ads/vendor/league/container/src/Argument/ArgumentResolverTrait.php(45): Automattic\WooCommerce\GoogleListingsAndAds\Vendor\League\Container\Container->get('Automattic\\WooC...') #27 [internal function]: Automattic\WooCommerce\GoogleListingsAndAds\Vendor\League\Container\Definition\Definition->Automattic\WooCommerce\GoogleListingsAndAds\Vendor\League\Container\Argument\{closure}('Automattic\\WooC...') #28 /htdocs/wp-content/plugins/google-listings-and-ads/vendor/league/container/src/Argument/ArgumentResolverTrait.php(19): array_map(Object(Closure), Array) #29 /htdocs/wp-content/plugins/google-listings-and-ads/vendor/league/container/src/Definition/Definition.php(253): Automattic\WooCommerce\GoogleListingsAndAds\Vendor\League\Container\Definition\Definition->resolveArguments(Array) #30 /htdocs/wp-content/plugins/google-listings-and-ads/vendor/league/container/src/Definition/Definition.php(212): Automattic\WooCommerce\GoogleListingsAndAds\Vendor\League\Container\Definition\Definition->resolveClass('Automattic\\WooC...') #31 /htdocs/wp-content/plugins/google-listings-and-ads/vendor/league/container/src/Definition/DefinitionAggregate.php(94): Automattic\WooCommerce\GoogleListingsAndAds\Vendor\League\Container\Definition\Definition->resolve(false) #32 /htdocs/wp-content/plugins/google-listings-and-ads/vendor/league/container/src/Container.php(157): Automattic\WooCommerce\GoogleListingsAndAds\Vendor\League\Container\Definition\DefinitionAggregate->resolve('Automattic\\WooC...', false) #33 /htdocs/wp-content/plugins/google-listings-and-ads/vendor/league/container/src/Argument/ArgumentResolverTrait.php(45): Automattic\WooCommerce\GoogleListingsAndAds\Vendor\League\Container\Container->get('Automattic\\WooC...') #34 [internal function]: Automattic\WooCommerce\GoogleListingsAndAds\Vendor\League\Container\Definition\Definition->Automattic\WooCommerce\GoogleListingsAndAds\Vendor\League\Container\Argument\{closure}('Automattic\\WooC...') #35 /htdocs/wp-content/plugins/google-listings-and-ads/vendor/league/container/src/Argument/ArgumentResolverTrait.php(19): array_map(Object(Closure), Array) #36 /htdocs/wp-content/plugins/google-listings-and-ads/vendor/league/container/src/Definition/Definition.php(253): Automattic\WooCommerce\GoogleListingsAndAds\Vendor\League\Container\Definition\Definition->resolveArguments(Array) #37 /htdocs/wp-content/plugins/google-listings-and-ads/vendor/league/container/src/Definition/Definition.php(212): Automattic\WooCommerce\GoogleListingsAndAds\Vendor\League\Container\Definition\Definition->resolveClass('Automattic\\WooC...') #38 /htdocs/wp-content/plugins/google-listings-and-ads/vendor/league/container/src/Definition/DefinitionAggregate.php(106): Automattic\WooCommerce\GoogleListingsAndAds\Vendor\League\Container\Definition\Definition->resolve(false) #39 /htdocs/wp-content/plugins/google-listings-and-ads/vendor/league/container/src/Container.php(162): Automattic\WooCommerce\GoogleListingsAndAds\Vendor\League\Container\Definition\DefinitionAggregate->resolveTagged('Automattic\\WooC...', false) #40 /htdocs/wp-content/plugins/google-listings-and-ads/vendor/league/container/src/Argument/ArgumentResolverTrait.php(45): Automattic\WooCommerce\GoogleListingsAndAds\Vendor\League\Container\Container->get('Automattic\\WooC...') #41 [internal function]: Automattic\WooCommerce\GoogleListingsAndAds\Vendor\League\Container\Definition\Definition->Automattic\WooCommerce\GoogleListingsAndAds\Vendor\League\Container\Argument\{closure}('Automattic\\WooC...') #42 /htdocs/wp-content/plugins/google-listings-and-ads/vendor/league/container/src/Argument/ArgumentResolverTrait.php(19): array_map(Object(Closure), Array) #43 /htdocs/wp-content/plugins/google-listings-and-ads/vendor/league/container/src/Definition/Definition.php(237): Automattic\WooCommerce\GoogleListingsAndAds\Vendor\League\Container\Definition\Definition->resolveArguments(Array) #44 /htdocs/wp-content/plugins/google-listings-and-ads/vendor/league/container/src/Definition/Definition.php(198): Automattic\WooCommerce\GoogleListingsAndAds\Vendor\League\Container\Definition\Definition->resolveCallable(Object(Closure)) #45 /htdocs/wp-content/plugins/google-listings-and-ads/vendor/league/container/src/Definition/DefinitionAggregate.php(106): Automattic\WooCommerce\GoogleListingsAndAds\Vendor\League\Container\Definition\Definition->resolve(false) #46 /htdocs/wp-content/plugins/google-listings-and-ads/vendor/league/container/src/Container.php(162): Automattic\WooCommerce\GoogleListingsAndAds\Vendor\League\Container\Definition\DefinitionAggregate->resolveTagged('Automattic\\WooC...', false) #47 /htdocs/wp-content/plugins/google-listings-and-ads/vendor/league/container/src/Container.php(178): Automattic\WooCommerce\GoogleListingsAndAds\Vendor\League\Container\Container->get('Automattic\\WooC...', false) #48 /htdocs/wp-content/plugins/google-listings-and-ads/src/Container.php(90): Automattic\WooCommerce\GoogleListingsAndAds\Vendor\League\Container\Container->get('Automattic\\WooC...') #49 /htdocs/wp-content/plugins/google-listings-and-ads/src/Infrastructure/GoogleListingsAndAdsPlugin.php(130): Automattic\WooCommerce\GoogleListingsAndAds\Container->get('Automattic\\WooC...') #50 /htdocs/wp-content/plugins/google-listings-and-ads/src/Infrastructure/GoogleListingsAndAdsPlugin.php(91): Automattic\WooCommerce\GoogleListingsAndAds\Infrastructure\GoogleListingsAndAdsPlugin->maybe_register_services() #51 /htdocs/wp-includes/class-wp-hook.php(324): Automattic\WooCommerce\GoogleListingsAndAds\Infrastructure\GoogleListingsAndAdsPlugin->Automattic\WooCommerce\GoogleListingsAndAds\Infrastructure\{closure}('') #52 /htdocs/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters(NULL, Array) #53 /htdocs/wp-includes/plugin.php(517): WP_Hook->do_action(Array) #54 /htdocs/wp-settings.php(559): do_action('plugins_loaded') #55 /htdocs/wp-config.php(85): require_once('/htdocs/wp-sett...') #56 /htdocs/wp-load.php(50): require_once('/htdocs/wp-conf...') #57 /htdocs/wp-blog-header.php(13): require_once('/htdocs/wp-load...') #58 /htdocs/index.php(17): require('/htdocs/wp-blog...') #59 {main} thrown in /htdocs/wp-content/plugins/google-listings-and-ads/vendor/google/apiclient-services/src/ShoppingContent.php on line 1196