*/ class BazaarPurchaseFactory extends Factory { /** * Define the model's default state. * * @return array */ public function definition(): array { return [ 'mobile_app_id' => MobileApp::factory(), 'product_id' => fake()->word(), 'purchase_token' => fake()->unique()->uuid(), 'status' => 'purchased', 'is_consumed' => false, 'purchased_at' => now(), 'validated_at' => now(), 'bazaar_response' => [], ]; } }