$this->faker->numberBetween(1,65535), // 'created_at', // 'updated_at', //* 'site_id', // Needs to be passed in 'taxable' => TRUE, 'active' => TRUE, // 'position' 'pricing'=>json_encode([ [ 'show'=>true, [ 'setup'=>50, 'base'=>100, ] ] ]), // 'price_recur_default' // 'price_recur_strict' // 'model_id' => 1, // 'accounting' // 'model' => 'App\Models\Product\Adsl', ]; } /* STATES */ public function notStrict() { return $this->state(function () { return [ 'price_recur_strict' => FALSE, ]; }); } public function strict() { return $this->state(function () { return [ 'price_recur_strict' => TRUE, ]; }); } }