<commit_before><?php

namespace SubscribePro\Service\Subscription;

use SubscribePro\Service\DataObject;
use SubscribePro\Service\Address\AddressInterface;
use SubscribePro\Service\PaymentProfile\PaymentProfileInterface;

class Subscription extends DataObject implements SubscriptionInterface
{
    /**
     * @var string
     */
    protected $idField = self::ID;

    /**
     * @var array
     */
    protected $creatingFields = [
        self::CUSTOMER_ID => true,
        self::PAYMENT_PROFILE_ID => true,
        self::SHIPPING_ADDRESS_ID => false,
        self::SHIPPING_ADDRESS => false,
        self::PRODUCT_SKU => true,
        self::REQUIRES_SHIPPING => true,
        self::QTY => true,
        self::USE_FIXED_PRICE => true,
        self::FIXED_PRICE => false,
        self::INTERVAL => true,
        self::NEXT_ORDER_DATE => true,
        self::FIRST_ORDER_ALREADY_CREATED => false,
        self::SEND_CUSTOMER_NOTIFICATION_EMAIL => false,
        self::EXPIRATION_DATE => false,
        self::COUPON_CODE => false,
        self::MAGENTO_STORE_CODE => false,
        self::MAGENTO_SHIPPING_METHOD_CODE => false,
        self::USER_DEFINED_FIELDS => false,<commit_msg>Added the notification field to the creation attributes<commit_after><?php

namespace SubscribePro\Service\Subscription;

use SubscribePro\Service\DataObject;
use SubscribePro\Service\Address\AddressInterface;
use SubscribePro\Service\PaymentProfile\PaymentProfileInterface;

class Subscription extends DataObject implements SubscriptionInterface
{
    /**
     * @var string
     */
    protected $idField = self::ID;

    /**
     * @var array
     */
    protected $creatingFields = [
        self::CUSTOMER_ID => true,
        self::PAYMENT_PROFILE_ID => true,
        self::SHIPPING_ADDRESS_ID => false,
        self::SHIPPING_ADDRESS => false,
        self::PRODUCT_SKU => true,
        self::REQUIRES_SHIPPING => true,
        self::QTY => true,
        self::USE_FIXED_PRICE => true,
        self::FIXED_PRICE => false,
        self::INTERVAL => true,
        self::NEXT_ORDER_DATE => true,
        self::FIRST_ORDER_ALREADY_CREATED => false,
        self::SEND_CUSTOMER_NOTIFICATION_EMAIL => true,
        self::EXPIRATION_DATE => false,
        self::COUPON_CODE => false,
        self::MAGENTO_STORE_CODE => false,
        self::MAGENTO_SHIPPING_METHOD_CODE => false,
        self::USER_DEFINED_FIELDS => false,
{'fraction_non_alphanumeric': 0.10986267166042447, 'fraction_numerical': 0.0, 'mean_word_length': 3.1591695501730106, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 39, 'https://': 0, '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': '2976981', 'n_tokens_mistral': 750, 'n_tokens_neox': 741, 'n_words': 126}