Whether the app can open an external link.
Check this property before showing any UI controls that the user can use to open the external link.
Check the value of this property again and update your UI if `Storefront.current` changes.
- Important: If this property is `false`, any methods to show UI or generate
an external link token method will always fail.
Opens the user notice sheet.
This method provides a result of the user interaction to determine
if the external link should be opened or not.
Only call this method as a result of deliberate user interaction, such as tapping a button.
If `isEligible` is `false`, this method will always fail.
- Parameters:
- type: The type of notice that will be shown to the user.
- Throws: A `StoreKitError`.
Returns an external link token of the specified type.
If `isEligible` is `false`, this method will always fail.
- Parameters:
- tokenType: The type of token to generate.
Consult the Apple Developer Documentation for more information on which types of tokens are accepted.
- Throws: A `StoreKitError`.