PaymentRequest 建構函式
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
多載
PaymentRequest(PaymentDetails, IIterable<PaymentMethodData>)
建立 PaymentRequest 物件。
public:
PaymentRequest(PaymentDetails ^ details, IIterable<PaymentMethodData ^> ^ methodData);
PaymentRequest(PaymentDetails const& details, IIterable<PaymentMethodData> const& methodData);
public PaymentRequest(PaymentDetails details, IEnumerable<PaymentMethodData> methodData);
function PaymentRequest(details, methodData)
Public Sub New (details As PaymentDetails, methodData As IEnumerable(Of PaymentMethodData))
參數
- details
- PaymentDetails
詳細資料。
- methodData
方法資料。
適用於
PaymentRequest(PaymentDetails, IIterable<PaymentMethodData>, PaymentMerchantInfo)
建立 PaymentRequest 物件。
public:
PaymentRequest(PaymentDetails ^ details, IIterable<PaymentMethodData ^> ^ methodData, PaymentMerchantInfo ^ merchantInfo);
PaymentRequest(PaymentDetails const& details, IIterable<PaymentMethodData> const& methodData, PaymentMerchantInfo const& merchantInfo);
public PaymentRequest(PaymentDetails details, IEnumerable<PaymentMethodData> methodData, PaymentMerchantInfo merchantInfo);
function PaymentRequest(details, methodData, merchantInfo)
Public Sub New (details As PaymentDetails, methodData As IEnumerable(Of PaymentMethodData), merchantInfo As PaymentMerchantInfo)
參數
- details
- PaymentDetails
詳細資料。
- methodData
方法資料。
- merchantInfo
- PaymentMerchantInfo
商家信息。
適用於
PaymentRequest(PaymentDetails, IIterable<PaymentMethodData>, PaymentMerchantInfo, PaymentOptions)
建立 PaymentRequest 物件。
public:
PaymentRequest(PaymentDetails ^ details, IIterable<PaymentMethodData ^> ^ methodData, PaymentMerchantInfo ^ merchantInfo, PaymentOptions ^ options);
PaymentRequest(PaymentDetails const& details, IIterable<PaymentMethodData> const& methodData, PaymentMerchantInfo const& merchantInfo, PaymentOptions const& options);
public PaymentRequest(PaymentDetails details, IEnumerable<PaymentMethodData> methodData, PaymentMerchantInfo merchantInfo, PaymentOptions options);
function PaymentRequest(details, methodData, merchantInfo, options)
Public Sub New (details As PaymentDetails, methodData As IEnumerable(Of PaymentMethodData), merchantInfo As PaymentMerchantInfo, options As PaymentOptions)
參數
- details
- PaymentDetails
詳細資料。
- methodData
方法資料。
- merchantInfo
- PaymentMerchantInfo
商家信息。
- options
- PaymentOptions
選項。
適用於
PaymentRequest(PaymentDetails, IIterable<PaymentMethodData>, PaymentMerchantInfo, PaymentOptions, String)
建立新的 PaymentRequest 物件。
public:
PaymentRequest(PaymentDetails ^ details, IIterable<PaymentMethodData ^> ^ methodData, PaymentMerchantInfo ^ merchantInfo, PaymentOptions ^ options, Platform::String ^ id);
PaymentRequest(PaymentDetails const& details, IIterable<PaymentMethodData> const& methodData, PaymentMerchantInfo const& merchantInfo, PaymentOptions const& options, winrt::hstring const& id);
public PaymentRequest(PaymentDetails details, IEnumerable<PaymentMethodData> methodData, PaymentMerchantInfo merchantInfo, PaymentOptions options, string id);
function PaymentRequest(details, methodData, merchantInfo, options, id)
Public Sub New (details As PaymentDetails, methodData As IEnumerable(Of PaymentMethodData), merchantInfo As PaymentMerchantInfo, options As PaymentOptions, id As String)
參數
- details
- PaymentDetails
詳細資料。
- methodData
方法資料。
- merchantInfo
- PaymentMerchantInfo
merchantInfo。
- options
- PaymentOptions
選項。
- id
-
String
Platform::String
winrt::hstring
ID。
Windows 需求
裝置系列 |
Windows 10 Fall Creators Update (已於 10.0.16299.0 引進)
|
API contract |
Windows.Foundation.UniversalApiContract (已於 v5.0 引進)
|