PaymentShippingOption 构造函数

定义

重载

PaymentShippingOption(String, PaymentCurrencyAmount)

创建新的 PaymentShippingOption 对象。

PaymentShippingOption(String, PaymentCurrencyAmount, Boolean)

创建新的 PaymentShippingOption 对象。

PaymentShippingOption(String, PaymentCurrencyAmount, Boolean, String)

创建新的 PaymentShippingOption 对象。

PaymentShippingOption(String, PaymentCurrencyAmount)

创建新的 PaymentShippingOption 对象。

public:
 PaymentShippingOption(Platform::String ^ label, PaymentCurrencyAmount ^ amount);
 PaymentShippingOption(winrt::hstring const& label, PaymentCurrencyAmount const& amount);
public PaymentShippingOption(string label, PaymentCurrencyAmount amount);
function PaymentShippingOption(label, amount)
Public Sub New (label As String, amount As PaymentCurrencyAmount)

参数

label
String

Platform::String

winrt::hstring

标签。

amount
PaymentCurrencyAmount

金额。

适用于

PaymentShippingOption(String, PaymentCurrencyAmount, Boolean)

创建新的 PaymentShippingOption 对象。

public:
 PaymentShippingOption(Platform::String ^ label, PaymentCurrencyAmount ^ amount, bool selected);
 PaymentShippingOption(winrt::hstring const& label, PaymentCurrencyAmount const& amount, bool const& selected);
public PaymentShippingOption(string label, PaymentCurrencyAmount amount, bool selected);
function PaymentShippingOption(label, amount, selected)
Public Sub New (label As String, amount As PaymentCurrencyAmount, selected As Boolean)

参数

label
String

Platform::String

winrt::hstring

标签。

amount
PaymentCurrencyAmount

金额。

selected
Boolean

bool

是否选择此选项。

适用于

PaymentShippingOption(String, PaymentCurrencyAmount, Boolean, String)

创建新的 PaymentShippingOption 对象。

public:
 PaymentShippingOption(Platform::String ^ label, PaymentCurrencyAmount ^ amount, bool selected, Platform::String ^ tag);
 PaymentShippingOption(winrt::hstring const& label, PaymentCurrencyAmount const& amount, bool const& selected, winrt::hstring const& tag);
public PaymentShippingOption(string label, PaymentCurrencyAmount amount, bool selected, string tag);
function PaymentShippingOption(label, amount, selected, tag)
Public Sub New (label As String, amount As PaymentCurrencyAmount, selected As Boolean, tag As String)

参数

label
String

Platform::String

winrt::hstring

标签。

amount
PaymentCurrencyAmount

金额。

selected
Boolean

bool

是否选择此选项。

tag
String

Platform::String

winrt::hstring

标记。

适用于