Contents

token(for:)

Returns an external purchase token of the specified type.

Declaration

static func token(for tokenType: String) async throws -> ExternalPurchaseCustomLink.Token?

Parameters

  • tokenType:

    The type of token to request.

Discussion

If isEligible is false, this method will always fail.

See Also

Deprecated methods and values