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

# SubscriptionBillingPlanTypeGroupSet

A set of subscription option groups, where each group represents subscriptions merchandised with a common billing plan type.

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

## Overview

Use this type to present the same subscription plans side by side, grouped by billing plan type. A product appears in more than one group when it offers more than one billing plan type, for example, when it has pricing terms for both [`monthly`](/documentation/StoreKit/Product/SubscriptionInfo/BillingPlanType/monthly) and [`upFront`](/documentation/StoreKit/Product/SubscriptionInfo/BillingPlanType/upFront). For more information about billing plans, see [Managing the life cycle of monthly subscriptions with a 12-month commitment](/documentation/StoreKit/managing-lifecycle-of-monthly-subscriptions-with-a-12-month-commitment-).

## Topics

### Creating billing plan type group sets

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

Creates a billing plan type group set with automatic marketing content and default labels for each billing plan type.

[`init(marketingContent: (SubscriptionInfo.BillingPlanType) -> MarketingContent)`](/documentation/StoreKit/SubscriptionBillingPlanTypeGroupSet/init(marketingContent:))

Creates a billing plan type group set with custom marketing content and default labels for each billing plan type.

[`init(marketingContent: (SubscriptionInfo.BillingPlanType) -> MarketingContent, label: (SubscriptionInfo.BillingPlanType) -> Label)`](/documentation/StoreKit/SubscriptionBillingPlanTypeGroupSet/init(marketingContent:label:))

Creates a billing plan type group set with custom marketing content and labels for each billing plan type.

### Creating the group style

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

## Relationships

### Conforms To

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

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

[`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)