Current Path : /storage/v11800/romasitenew/public_html/wp-content/plugins/google-listings-and-ads/src/Value/ |
Linux v11800 5.3.0-1023-aws #25~18.04.1-Ubuntu SMP Fri Jun 5 15:19:18 UTC 2020 aarch64
|
Current File : /storage/v11800/romasitenew/public_html/wp-content/plugins/google-listings-and-ads/src/Value/RateType.php |
<?php
declare( strict_types=1 );
namespace Automattic\WooCommerce\GoogleListingsAndAds\Value;
defined( 'ABSPATH' ) || exit;
/**
* Class RateType
*
* @package Automattic\WooCommerce\GoogleListingsAndAds\Value
*/
class RateType extends EnumeratedValues implements ValueInterface {
/**
* Array of possible valid values.
*
* Data will be validated to ensure it is one of these values.
*
* @var array
*/
protected $valid_values = [
'flat' => true,
'manual' => true,
];
/**
* Get the value of the object.
*
* @return mixed
*/
public function get(): string {
return $this->value;
}
}