MicrosoftPayMethodData 构造函数

定义

重载

MicrosoftPayMethodData()

初始化 MicrosoftPayMethodData 类的新实例。

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

初始化 MicrosoftPayMethodData 类的新实例。

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

初始化 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

商家 ID。

supportedNetworks
IList<String>

支持的网络。

supportedTypes
IList<String>

支持的类型。

testMode
Boolean

测试模式。

适用于