PaymentRequest 建構函式
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
多載
| 名稱 | Description |
|---|---|
| PaymentRequest() |
初始化 PaymentRequest 類別的新執行個體。 |
| PaymentRequest(String, IList<PaymentMethodData>, PaymentDetails, PaymentOptions, String) |
初始化 PaymentRequest 類別的新執行個體。 |
PaymentRequest()
PaymentRequest(String, IList<PaymentMethodData>, PaymentDetails, PaymentOptions, String)
初始化 PaymentRequest 類別的新執行個體。
public PaymentRequest(string id = default, System.Collections.Generic.IList<Microsoft.Bot.Schema.PaymentMethodData> methodData = default, Microsoft.Bot.Schema.PaymentDetails details = default, Microsoft.Bot.Schema.PaymentOptions options = default, string expires = default);
new Microsoft.Bot.Schema.PaymentRequest : string * System.Collections.Generic.IList<Microsoft.Bot.Schema.PaymentMethodData> * Microsoft.Bot.Schema.PaymentDetails * Microsoft.Bot.Schema.PaymentOptions * string -> Microsoft.Bot.Schema.PaymentRequest
Public Sub New (Optional id As String = Nothing, Optional methodData As IList(Of PaymentMethodData) = Nothing, Optional details As PaymentDetails = Nothing, Optional options As PaymentOptions = Nothing, Optional expires As String = Nothing)
參數
- id
- String
這筆付款請求的身分證明。
- methodData
- IList<PaymentMethodData>
允許此請求的付款方式。
- details
- PaymentDetails
此請求的細節。
- options
- PaymentOptions
提供付款申請所需選項的資訊。
- expires
- String
此請求的有效期限為 ISO 8601 持續時間格式(例如「P1D」)。