File "Request.php"
Full Path: /home/vantageo/public_html/cache/cache/.wp-cli/wp-content/plugins/facebook-for-woocommerce/includes/API/ProductCatalog/ProductFeedUploads/Read/Request.php
File size: 721 bytes
MIME-type: text/x-php
Charset: utf-8
<?php
declare( strict_types=1 );
namespace WooCommerce\Facebook\API\ProductCatalog\ProductFeedUploads\Read;
use WooCommerce\Facebook\API\Request as ApiRequest;
defined( 'ABSPATH' ) || exit;
/**
* Request object for Product Catalog > Product Feeds > Read Graph Api.
*
* @link https://developers.facebook.com/docs/marketing-api/reference/product-feed-upload/#read_examples
*/
class Request extends ApiRequest {
/**
* @param string $product_feed_upload_id Facebook Product Feed Upload ID.
*/
public function __construct( string $product_feed_upload_id ) {
parent::__construct( "/{$product_feed_upload_id}/?fields=error_count,warning_count,num_detected_items,num_persisted_items,url,end_time", 'GET' );
}
}