PaymentMethodData 构造函数

定义

重载

PaymentMethodData(IIterable<String>)

创建 PaymentMethodData 对象。

PaymentMethodData(IIterable<String>, String)

创建 PaymentMethodData 对象。

PaymentMethodData(IIterable<String>)

创建 PaymentMethodData 对象。

public:
 PaymentMethodData(IIterable<Platform::String ^> ^ supportedMethodIds);
 PaymentMethodData(IIterable<winrt::hstring> const& supportedMethodIds);
public PaymentMethodData(IEnumerable<string> supportedMethodIds);
function PaymentMethodData(supportedMethodIds)
Public Sub New (supportedMethodIds As IEnumerable(Of String))

参数

supportedMethodIds

IIterable<String>

IEnumerable<String>

IIterable<Platform::String>

IIterable<winrt::hstring>

支持的方法 ID。

适用于

PaymentMethodData(IIterable<String>, String)

创建 PaymentMethodData 对象。

public:
 PaymentMethodData(IIterable<Platform::String ^> ^ supportedMethodIds, Platform::String ^ jsonData);
 PaymentMethodData(IIterable<winrt::hstring> const& supportedMethodIds, winrt::hstring const& jsonData);
public PaymentMethodData(IEnumerable<string> supportedMethodIds, string jsonData);
function PaymentMethodData(supportedMethodIds, jsonData)
Public Sub New (supportedMethodIds As IEnumerable(Of String), jsonData As String)

参数

supportedMethodIds

IIterable<String>

IEnumerable<String>

IIterable<Platform::String>

IIterable<winrt::hstring>

支持的方法 ID。

jsonData
String

Platform::String

winrt::hstring

与付款方式关联的数据。

适用于