token
TypeScriptstatic token(tokenType: TransactionReporting_TokenType): Promise<string>Swift declarationstatic func token(for tokenType: TransactionReporting.TokenType) async throws -> StringReturns a transaction reporting token of the specified type. - 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 `MarketplaceKitError`.