wip: group inquiries and booking

This commit is contained in:
Björn Fromme committed 2026-07-16 09:03:42 +02:00
1 parent 225ed518e3
commit 1e59d38eb4
33 files changed
+644 -95

No files matched your search

@@ -61,6 +61,15 @@ final readonly class AccommodationBookingApiResponse
#[Groups(['api:single'])]
public ?int $discount;
#[Groups(['api:single'])]
public ?int $totalPrice;
#[Groups(['api:single'])]
public ?string $pricingCurrency;
#[Groups(['api:single'])]
public ?int $pricingVersion;
/**
* @var array<string, mixed>|null
*/
@@ -90,6 +99,9 @@ final readonly class AccommodationBookingApiResponse
$booking->getAdditionalServices(),
);
$this->discount = $booking->getDiscount();
$this->totalPrice = $booking->getTotalPrice();
$this->pricingCurrency = $booking->getPricingCurrency();
$this->pricingVersion = $booking->getPricingVersion();
$this->priceBreakdown = $priceBreakdown;
}
}