appAccountToken(_:)
Sets a UUID to associate the purchase with an account in your system.
Declaration
static func appAccountToken(_ token: UUID) -> Product.PurchaseOptionParameters
- token:
A UUID you provide to associate with the purchase.
Return Value
An instance of Product.PurchaseOption to use in purchase(options:).
Discussion
When you set the app account token in the purchase options, the App Store returns the same app account token value in the resulting transaction, in appAccountToken.