إضافة بطاقات متعددة إلى بطاقة واحدة بشكل تلقائي
لن يؤدي الرابط الإضافة إلى "محفظة Google" إلى تجميع هذه البطاقات في
تطبيق "محفظة Google" لدى المستخدم. ومع ذلك، يمكن تجميع البطاقات من خلال إنشاء
للتأكد من أن جميعها لديهم نفس معرّف التجميع. ستظهر البطاقات المجمّعة معًا.
في تطبيق "محفظة Google". عند اختيار مجموعة من البطاقات، ستظهر
ستظهر على لوحة عرض دوّارة.
لإضافة بطاقة إلى مجموعة، تكون السمة groupingInfo.groupingId في
يجب تعيين كائن المرور. تمرير جميع العناصر باستخدام
سيتم تجميع قيمة groupingId تلقائيًا معًا، حتى إذا
تم إضافتها بشكل منفصل.
يوضّح المثال التالي بطاقة ولاء وعرضًا يتم جمعهما معًا من أجل
وتحث المستخدم على الاستفادة من كليهما في عملية الشراء التالية.
تاريخ التعديل الأخير: 2025-02-28 (حسب التوقيت العالمي المتفَّق عليه)
[null,null,["تاريخ التعديل الأخير: 2025-02-28 (حسب التوقيت العالمي المتفَّق عليه)"],[[["Adding multiple passes to Google Wallet with the same `groupingId` will group them together, enhancing user experience."],["Grouped passes are displayed as a carousel when selected in the Google Wallet app."],["Passes can be grouped during initial creation or later using the `update` or `patch` methods."],["The `groupingInfo.groupingId` property is essential for assigning passes to a specific group."],["Grouping passes, such as loyalty cards and offers, can incentivize users to utilize them together."]]],["Passes in Google Wallet can be grouped by assigning them a shared `groupingId`. This ensures they appear together as a carousel in the user's wallet. Grouping can occur during initial setup or later via `update` or `patch` methods. Setting the `groupingInfo.groupingId` property on each pass object is required. Passes with the same `groupingId` are grouped, even if added separately. The example demonstrates grouping a loyalty card and offer with the same `groupingId`, \"combinedGiftCardAndOfferId\".\n"]]