語言

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

測試模式。

適用於