File: D:/HostingSpaces/farmfun/reserveren.farmfun.be/app/Komma/Teamleader/Resources/Deal.php
<?php
namespace App\Komma\Teamleader\Resources;
use App\Komma\Teamleader\Base\ApiResource;
use Carbon\Carbon;
class Deal extends ApiResource
{
const ONLINE_BOOKING_SOURCE = '1a97365d-ad72-00f7-a15b-51cf25e5151f';
const WON_PHASE = '6c9c1b81-b2ad-0a79-a752-7821da65e31e';
const NEW_PHASE = 'e58cb882-db21-0ea4-a158-4ab6c565e31a';
public static array $custom_fields_ids = [
'event_date' => 'a41677a4-317d-0b46-a254-35abef62d91b',
'persons' => 'b136efc8-f9dd-0f2b-ac50-28cb42131101',
'start_time' => 'e315d97f-c7b9-01f7-a55e-d3e7e6a3e7d0',
'with_food' => '45c37a46-d40e-0cf5-8f57-a3e78f241852',
];
public string $id;
public object $department;
public string $title;
public ?string $summary;
public string $status;
public string $reference;
public object $lead;
public object $weighted_value;
public ?string $purchase_order_number;
public object $estimated_value;
public ?Carbon $estimated_closing_date;
public int $estimated_probability;
public object $current_phase;
public object $responsible_user;
public ?Carbon $closed_at;
public ?object $source;
public ?object $lost_reason;
public Carbon $created_at;
public Carbon $added_at;
public ?Carbon $updated_at;
public string $web_url;
public array $quotations;
public array $phase_history;
public array $custom_fields;
/**
* The attributes that should be mutated to dates.
*
* @var array
*/
protected array $_dates = [
'estimated_closing_date',
'created_at',
'closed_at',
'added_at',
'updated_at',
];
}