Share via


PaymentMethodData Constructors

Definition

Overloads

PaymentMethodData(IIterable<String>)

Creates a PaymentMethodData object.

PaymentMethodData(IIterable<String>, String)

Creates a PaymentMethodData object.

PaymentMethodData(IIterable<String>)

Creates a PaymentMethodData object.

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))

Parameters

supportedMethodIds

IIterable<String>

IEnumerable<String>

IIterable<Platform::String>

IIterable<winrt::hstring>

The supported method IDs.

Applies to

PaymentMethodData(IIterable<String>, String)

Creates a PaymentMethodData object.

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)

Parameters

supportedMethodIds

IIterable<String>

IEnumerable<String>

IIterable<Platform::String>

IIterable<winrt::hstring>

The supported method IDs.

jsonData
String

Platform::String

winrt::hstring

The data associated with a payment method.

Applies to