init(status:errors:)
Initializes the result with the status code and list of errors.
Declaration
init(status: PKPaymentAuthorizationStatus, errors: [any Error]?)Parameters
- status:
The status of the payment.
- errors:
Any errors returned from the authorization status.