Edit

Bagikan melalui


PKPaymentErrorCodeExtensions Class

Definition

Extension methods for the PassKit.PKPaymentErrorCode enumeration.

[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.WatchOS, 4, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 11, 0, ObjCRuntime.PlatformArchitecture.All, null)]
public static class PKPaymentErrorCodeExtensions
type PKPaymentErrorCodeExtensions = class
Inheritance
PKPaymentErrorCodeExtensions
Attributes

Remarks

The extension method for the PassKit.PKPaymentErrorCode enumeration can be used to fetch the error domain associated with these error codes.

Methods

GetDomain(PKPaymentErrorCode)

Returns the error domain associated with the PassKit.PKPaymentErrorCode value

Applies to