multiTokenContexts
An array of payment token contexts to request multiple payment tokens with one payment token per context.
Declaration
var multiTokenContexts: [PKPaymentTokenContext] { get set }Discussion
Use multitoken contexts to indicate payments for multiple merchants. This property is an array of PKPaymentTokenContext objects. The sum of all payment token contexts must be less than or equal to the grand total of the enclosing payment request listed as the last payment summary item, PKPaymentSummaryItem. Otherwise, the request results in a runtime error and cancels the payment request.