<commit_before><?php
/**
 * Created by PhpStorm.
 * @author <NAME> <<EMAIL>>
 * Created at 5/06/19 2:06 AM UTC+03:00
 *
 * @see https://help.shopify.com/api/reference/discounts/pricerule Shopify API Reference for PriceRule
 */

namespace PHPShopify;


/**
 * --------------------------------------------------------------------------
 * PriceRule -> Child Resources
 * --------------------------------------------------------------------------
 * @property-read ShopifyResource $DiscountCode
 *
 * @method ShopifyResource DiscountCode(integer $id = null)
 *
 */
class PriceRule extends ShopifyResource
{
    /**
     * @inheritDoc
     */
    public $resourceKey = 'price_rule';

    /**
     * @inheritDoc
     */
    public $countEnabled = false;

    /**
     * @inheritDoc
     */<commit_msg>price rule endpoint supports count<commit_after><?php
/**
 * Created by PhpStorm.
 * @author <NAME> <<EMAIL>>
 * Created at 5/06/19 2:06 AM UTC+03:00
 *
 * @see https://help.shopify.com/api/reference/discounts/pricerule Shopify API Reference for PriceRule
 */

namespace PHPShopify;


/**
 * --------------------------------------------------------------------------
 * PriceRule -> Child Resources
 * --------------------------------------------------------------------------
 * @property-read ShopifyResource $DiscountCode
 *
 * @method ShopifyResource DiscountCode(integer $id = null)
 *
 */
class PriceRule extends ShopifyResource
{
    /**
     * @inheritDoc
     */
    public $resourceKey = 'price_rule';

    /**
     * @inheritDoc
     */
{'fraction_non_alphanumeric': 0.3033052495139339, 'fraction_numerical': 0.015554115359688918, 'mean_word_length': 1.5311475409836066, 'pattern_counts': {'":': 0, '<': 11, '<?xml version=': 0, '>': 11, 'https://': 2, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7084112', 'n_tokens_mistral': 423, 'n_tokens_neox': 405, 'n_words': 92}