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>
必须由重写调用的完成方法。
- 属性