語言

PaymentMethodData 建構函式

定義

多載

名稱 Description
PaymentMethodData()

初始化 PaymentMethodData 類別的新執行個體。

PaymentMethodData(IList<String>, Object)

初始化 PaymentMethodData 類別的新執行個體。

PaymentMethodData()

初始化 PaymentMethodData 類別的新執行個體。

public PaymentMethodData();
Public Sub New ()

適用於

PaymentMethodData(IList<String>, Object)

初始化 PaymentMethodData 類別的新執行個體。

public PaymentMethodData(System.Collections.Generic.IList<string> supportedMethods = default, object data = default);
new Microsoft.Bot.Schema.PaymentMethodData : System.Collections.Generic.IList<string> * obj -> Microsoft.Bot.Schema.PaymentMethodData
Public Sub New (Optional supportedMethods As IList(Of String) = Nothing, Optional data As Object = Nothing)

參數

supportedMethods
IList<String>

商家網站接受的支付方式必須包含包含支付方式識別碼的字串序列。

data
Object

一個可序列化的 JSON 物件,提供支援支付方式可能需要的可選資訊。

適用於