语言

MicrosoftPayMethodData 构造函数

定义

重载

MicrosoftPayMethodData()

初始化 MicrosoftPayMethodData 类的新实例。

public MicrosoftPayMethodData();
Public Sub New ()

适用于

MicrosoftPayMethodData(String, IList<String>, IList<String>)

初始化 MicrosoftPayMethodData 类的新实例。

public MicrosoftPayMethodData(string merchantId = default, System.Collections.Generic.IList<string> supportedNetworks = default, System.Collections.Generic.IList<string> supportedTypes = default);
new Microsoft.Bot.Schema.MicrosoftPayMethodData : string * System.Collections.Generic.IList<string> * System.Collections.Generic.IList<string> -> Microsoft.Bot.Schema.MicrosoftPayMethodData
Public Sub New (Optional merchantId As String = Nothing, Optional supportedNetworks As IList(Of String) = Nothing, Optional supportedTypes As IList(Of String) = Nothing)

参数

merchantId
String

Microsoft Pay商户ID。

supportedNetworks
IList<String>

支持支付网络(例如“Visa”和“Mastercard”)。

supportedTypes
IList<String>

支持的支付类型(例如,“信用”)。

适用于

MicrosoftPayMethodData(String, IList<String>, IList<String>, Boolean)

初始化 MicrosoftPayMethodData 类的新实例。

public MicrosoftPayMethodData(string merchantId = default, System.Collections.Generic.IList<string> supportedNetworks = default, System.Collections.Generic.IList<string> supportedTypes = default, bool testMode = false);
new Microsoft.Bot.Schema.MicrosoftPayMethodData : string * System.Collections.Generic.IList<string> * System.Collections.Generic.IList<string> * bool -> Microsoft.Bot.Schema.MicrosoftPayMethodData
Public Sub New (Optional merchantId As String = Nothing, Optional supportedNetworks As IList(Of String) = Nothing, Optional supportedTypes As IList(Of String) = Nothing, Optional testMode As Boolean = false)

参数

merchantId
String

商人身份证。

supportedNetworks
IList<String>

支持的网络。

supportedTypes
IList<String>

支持类型。

testMode
Boolean

测试模式。

适用于