<!--
{
  "availability" : [
    "iOS: 27.3.0 -",
    "iPadOS: 27.3.0 -",
    "macCatalyst: 27.3.0 -",
    "macOS: 27.3.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "StoreKit",
  "identifier" : "/documentation/StoreKit/SubscriptionPricingModelGroupSet",
  "metadataVersion" : "0.1.0",
  "role" : "Structure",
  "symbol" : {
    "kind" : "Structure",
    "modules" : [
      "StoreKit",
      "SwiftUI"
    ],
    "preciseIdentifier" : "s:17_StoreKit_SwiftUI32SubscriptionPricingModelGroupSetV"
  },
  "title" : "SubscriptionPricingModelGroupSet"
}
-->

# SubscriptionPricingModelGroupSet

A set of subscription option groups, where each group represents subscriptions merchandised with a common pricing model.

```
@MainActor @preconcurrency struct SubscriptionPricingModelGroupSet<Label, MarketingContent> where Label : View, MarketingContent : View
```

## Overview

Use this type to present the same subscription plans side by side, grouped by pricing model. A product appears in more than one group when it offers more than one pricing model, for example, when it has both single-price and seat-based pricing terms for multiseat purchases.

The label and marketing content closures receive a [`Product.SubscriptionInfo.PricingTerms.PricingModel`](/documentation/StoreKit/Product/SubscriptionInfo/PricingTerms-swift.struct/PricingModel-swift.enum) value that identifies each group. Use its case, [`Product.SubscriptionInfo.PricingTerms.PricingModel.singlePrice(_:)`](/documentation/StoreKit/Product/SubscriptionInfo/PricingTerms-swift.struct/PricingModel-swift.enum/singlePrice(_:)) or [`Product.SubscriptionInfo.PricingTerms.PricingModel.seatBased(_:)`](/documentation/StoreKit/Product/SubscriptionInfo/PricingTerms-swift.struct/PricingModel-swift.enum/seatBased(_:)), to decide what each group shows. Don’t read the case’s associated value: it describes the pricing of one product in the group, not the group as a whole.

For more information, see [Supporting multiseat purchases in your app](/documentation/StoreKit/supporting-multiseat-purchases-in-your-app).

## Topics

### Creating pricing model group sets

[`init()`](/documentation/StoreKit/SubscriptionPricingModelGroupSet/init())

Creates a pricing model group set with automatic marketing content and default labels for each pricing model.

[`init(marketingContent: (SubscriptionInfo.PricingTerms.PricingModel) -> MarketingContent)`](/documentation/StoreKit/SubscriptionPricingModelGroupSet/init(marketingContent:))

Creates a pricing model group set with custom marketing content and default labels for each pricing model.

[`init(marketingContent: (SubscriptionInfo.PricingTerms.PricingModel) -> MarketingContent, label: (SubscriptionInfo.PricingTerms.PricingModel) -> Label)`](/documentation/StoreKit/SubscriptionPricingModelGroupSet/init(marketingContent:label:))

Creates a pricing model group set with custom marketing content and labels for each pricing model.

### Creating the group style

  <doc://com.apple.documentation/documentation/SwiftUI/View/subscriptionStoreOptionGroupStyle(_:)>

## Relationships

### Conforms To

[`SendableMetatype`](/documentation/Swift/SendableMetatype)

[`StoreContent`](/documentation/StoreKit/StoreContent)

[`Sendable`](/documentation/Swift/Sendable)

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)