diff --git a/projects/cas3-and-delius/src/main/kotlin/uk/gov/justice/digital/hmpps/integrations/approvedpremesis/EventDetails.kt b/projects/cas3-and-delius/src/main/kotlin/uk/gov/justice/digital/hmpps/integrations/approvedpremesis/EventDetails.kt index 542b0588cb..fa6491f96c 100644 --- a/projects/cas3-and-delius/src/main/kotlin/uk/gov/justice/digital/hmpps/integrations/approvedpremesis/EventDetails.kt +++ b/projects/cas3-and-delius/src/main/kotlin/uk/gov/justice/digital/hmpps/integrations/approvedpremesis/EventDetails.kt @@ -11,7 +11,7 @@ data class EventDetails( data class ApplicationSubmitted( val applicationId: String -){ +) { val urn = "urn:hmpps:cas3:application-submitted:$applicationId" } @@ -22,8 +22,7 @@ data class BookingCancelled( val bookingUrl: String, val cancellationReason: String, val cancellationContext: String? -) -{ +) { val urn = "urn:hmpps:cas3:booking-cancelled:$bookingId" } @@ -34,8 +33,7 @@ data class BookingProvisional( val bookingUrl: String, val expectedArrivedAt: ZonedDateTime, val notes: String -) -{ +) { val urn = "urn:hmpps:cas3:booking-provisional:$bookingId" } @@ -46,8 +44,6 @@ data class BookingConfirmed( val bookingUrl: String, val expectedArrivedAt: ZonedDateTime, val notes: String -) -{ +) { val urn = "urn:hmpps:cas3:booking-confirmed:$bookingId" } -