$this->faker->numberBetween(1,65535), //* 'site_id', // Needs to be passed in // 'date_orig', // 'date_last', 'taxable' => TRUE, 'active' => TRUE, // 'position' // 'cart_multiple' // 'group_avail' // 'avail_category' // 'price_type' 'price_group'=>serialize([ 1=>[ 0=>[ 'price_setup'=>50, 'price_base'=>100, ] ] ]), // 'price_recurr_default' // 'price_recurr_day' // 'price_recurr_weekday' // 'price_recurr_strict' // 'prod_plugin_file' //'prod_plugin_data' => 1, // 'accounting' // 'model' => 'App\Models\Product\Adsl', ]; } /* STATES */ public function notStrict() { return $this->state(function () { return [ 'price_recurr_strict' => FALSE, ]; }); } public function strict() { return $this->state(function () { return [ 'price_recurr_strict' => TRUE, ]; }); } }