語言

PaymentShippingOption 建構函式

定義

多載

名稱 Description
PaymentShippingOption()

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

PaymentShippingOption(String, String, PaymentCurrencyAmount, Nullable<Boolean>)

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

PaymentShippingOption()

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

public PaymentShippingOption();
Public Sub New ()

適用於

PaymentShippingOption(String, String, PaymentCurrencyAmount, Nullable<Boolean>)

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

public PaymentShippingOption(string id = default, string label = default, Microsoft.Bot.Schema.PaymentCurrencyAmount amount = default, bool? selected = default);
new Microsoft.Bot.Schema.PaymentShippingOption : string * string * Microsoft.Bot.Schema.PaymentCurrencyAmount * Nullable<bool> -> Microsoft.Bot.Schema.PaymentShippingOption
Public Sub New (Optional id As String = Nothing, Optional label As String = Nothing, Optional amount As PaymentCurrencyAmount = Nothing, Optional selected As Nullable(Of Boolean) = Nothing)

參數

id
String

用於指稱此 PaymentShippingOption。

label
String

物品的人類可讀描述。

amount
PaymentCurrencyAmount

包含該物品的金額。

selected
Nullable<Boolean>

顯示這是否是預設選擇的 PaymentShippingOption。

適用於