INRequestPaymentIntentHandling_Extensions.ResolvePayer 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
多載
ResolvePayer(IINRequestPaymentIntentHandling, INRequestPaymentIntent, Action<INPersonResolutionResult>)
開發人員可以覆寫這個方法來自訂支付者的解決方案。
[ObjCRuntime.Deprecated(ObjCRuntime.PlatformName.WatchOS, 4, 0, ObjCRuntime.PlatformArchitecture.None, "Use 'ResolvePayer (INRequestPaymentIntent, Action<INRequestPaymentPayerResolutionResult>)' instead.")]
[ObjCRuntime.Deprecated(ObjCRuntime.PlatformName.iOS, 11, 0, ObjCRuntime.PlatformArchitecture.None, "Use 'ResolvePayer (INRequestPaymentIntent, Action<INRequestPaymentPayerResolutionResult>)' instead.")]
public static void ResolvePayer(this Intents.IINRequestPaymentIntentHandling This, Intents.INRequestPaymentIntent intent, Action<Intents.INPersonResolutionResult> completion);
static member ResolvePayer : Intents.IINRequestPaymentIntentHandling * Intents.INRequestPaymentIntent * Action<Intents.INPersonResolutionResult> -> unit
參數
這個方法運作所在的 實例。
- intent
- INRequestPaymentIntent
指定使用者的意圖。
- completion
- Action<INPersonResolutionResult>
覆寫必須呼叫的完成方法。
- 屬性
適用於
ResolvePayer(IINRequestPaymentIntentHandling, INRequestPaymentIntent, Action<INRequestPaymentPayerResolutionResult>)
開發人員可以實作這個方法來自訂支付者的解決方案。
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.WatchOS, 4, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 11, 0, ObjCRuntime.PlatformArchitecture.All, null)]
public static void ResolvePayer(this Intents.IINRequestPaymentIntentHandling This, Intents.INRequestPaymentIntent intent, Action<Intents.INRequestPaymentPayerResolutionResult> completion);
static member ResolvePayer : Intents.IINRequestPaymentIntentHandling * Intents.INRequestPaymentIntent * Action<Intents.INRequestPaymentPayerResolutionResult> -> unit
參數
這個方法運作所在的 實例。
- intent
- INRequestPaymentIntent
指定使用者的意圖。
- completion
- Action<INRequestPaymentPayerResolutionResult>
覆寫必須呼叫的完成方法。
- 屬性