PaymentToken Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
PaymentToken(String) |
Creates a new PaymentToken object. |
PaymentToken(String, String) |
Creates a PaymentToken object. |
PaymentToken(String)
Creates a new PaymentToken object.
public:
PaymentToken(Platform::String ^ paymentMethodId);
PaymentToken(winrt::hstring const& paymentMethodId);
public PaymentToken(string paymentMethodId);
function PaymentToken(paymentMethodId)
Public Sub New (paymentMethodId As String)
Parameters
- paymentMethodId
-
String
Platform::String
winrt::hstring
The payment method ID.
Applies to
PaymentToken(String, String)
Creates a PaymentToken object.
public:
PaymentToken(Platform::String ^ paymentMethodId, Platform::String ^ jsonDetails);
PaymentToken(winrt::hstring const& paymentMethodId, winrt::hstring const& jsonDetails);
public PaymentToken(string paymentMethodId, string jsonDetails);
function PaymentToken(paymentMethodId, jsonDetails)
Public Sub New (paymentMethodId As String, jsonDetails As String)
Parameters
- paymentMethodId
-
String
Platform::String
winrt::hstring
The payment method ID.
- jsonDetails
-
String
Platform::String
winrt::hstring
The JSON details.