---
title: SubscriptionOptionGroupSet
framework: storekit
role: symbol
role_heading: Structure
path: storekit/subscriptionoptiongroupset
---

# SubscriptionOptionGroupSet

A set of groups of subscription options that include optional views for labels and marketing content.

## Declaration

```swift
@MainActor @preconcurrency struct SubscriptionOptionGroupSet<GroupID, Label, MarketingContent> where GroupID : Hashable, Label : View, MarketingContent : View
```

## Topics

### Creating subscription option group sets

- [init(idType:groupedBy:label:)](storekit/subscriptionoptiongroupset/init(idtype:groupedby:label:).md)
- [init(idType:groupedBy:label:marketingContent:)](storekit/subscriptionoptiongroupset/init(idtype:groupedby:label:marketingcontent:).md)

### Creating the group style

- [subscriptionStoreOptionGroupStyle(_:)](swiftui/view/subscriptionstoreoptiongroupstyle(_:).md)

## Relationships

### Conforms To

- [Sendable](swift/sendable.md)
- [SendableMetatype](swift/sendablemetatype.md)
- [StoreContent](storekit/storecontent.md)

## See Also

### Declaring the structure of a subscription store

- [SubscriptionOptionGroup](storekit/subscriptionoptiongroup.md)
- [SubscriptionPeriodGroupSet](storekit/subscriptionperiodgroupset.md)
- [SubscriptionOptionSection](storekit/subscriptionoptionsection.md)
- [StoreContent](storekit/storecontent.md)
- [StoreContentBuilder](storekit/storecontentbuilder.md)
