File "Request.php"

Full Path: /home/vantageo/public_html/cache/cache/cache/cache/cache/cache/cache/.wp-cli/wp-content/plugins/facebook-for-woocommerce/includes/API/FBE/Installation/Read/Request.php
File size: 819 bytes
MIME-type: text/x-php
Charset: utf-8

<?php
/**
 * Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved
 *
 * This source code is licensed under the license found in the
 * LICENSE file in the root directory of this source tree.
 *
 * @package FacebookCommerce
 */

namespace WooCommerce\Facebook\API\FBE\Installation\Read;

defined( 'ABSPATH' ) || exit;

use WooCommerce\Facebook\API\FBE\Installation;

/**
 * FBE installation API read request object.
 *
 * @since 2.0.0
 */
class Request extends Installation\Request {
	/**
	 * API request constructor.
	 *
	 * @since 2.0.0
	 *
	 * @param string $external_business_id external business_id
	 */
	public function __construct( $external_business_id ) {
		parent::__construct( 'fbe_installs', 'GET' );
		$this->params = array(
			'fbe_external_business_id' => $external_business_id,
		);
	}
}