From ccc1b726f45367b5e850cfcf56c0dc1aea2ffbad Mon Sep 17 00:00:00 2001 From: Dany Sluijk Date: Sat, 28 Sep 2024 23:32:15 +0000 Subject: [PATCH] feat(wallet): add grouping information based on the event --- .../core/service/googlewallet/GoogleWalletServiceImpl.java | 1 + 1 file changed, 1 insertion(+) diff --git a/src/main/java/ch/wisv/events/core/service/googlewallet/GoogleWalletServiceImpl.java b/src/main/java/ch/wisv/events/core/service/googlewallet/GoogleWalletServiceImpl.java index 589a8e58..9a819eae 100644 --- a/src/main/java/ch/wisv/events/core/service/googlewallet/GoogleWalletServiceImpl.java +++ b/src/main/java/ch/wisv/events/core/service/googlewallet/GoogleWalletServiceImpl.java @@ -149,6 +149,7 @@ private EventTicketObject createObject(Ticket ticket) { .setHexBackgroundColor("#1e274a") .setFaceValue(cost) .setBarcode(new Barcode().setType("QR_CODE").setValue(ticket.getUniqueCode())) + .setGroupingInfo(new GroupingInfo().setGroupingId(ticket.product.event.getKey()).setSortIndex(1)) .setLinksModuleData(new LinksModuleData().setUris(Arrays.asList(tnc))); }