<?php  namespace App\Services\BuyerReturns;  use Illuminate\Http\Request;  final class BuyerReturnData { 	public function __construct( 		protected bool $isBeingRepaired, 		protected bool $isReplaced, 		protected bool $isReclamation, 		protected ?float $repairCosts, 		protected ?string $repairServiceId, 		protected ?string $buyerId, 		protected ?string $note, 		protected ?string $supplier, 		protected ?string $authorId, 		protected ?string $authorType 	{}  	public static function createFromRequest(Request $request): self 	{ 		$user = $request->user();  		return new self( 			$request->boolean('is_being_repaired'), 			$request->boolean('is_replaced'), 			$request->boolean('is_reclamation'), 			$request->repair_costs, 			$request->repair_service_id, 			$request->buyer_id, 			$request->note, 			$request->supplier, 			$user->user_id, 			$user->user_type, 		); 	}  	public function getIsBeingRepaired(): bool{}  	public function getIsReplaced(): bool{}  	public function getIsReclamation(): bool{}  	public function getRepairCosts(): ?float{}  	public function getRepairServiceId(): ?string{}  	public function getBuyerId(): ?string{}  	public function getNote(): ?string{}  	public function getSupplier(): ?string{}  	public function getAuthorId(): ?string{}  	public function getAuthorType(): ?string{} }