PaymentRequest 建構函式
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
多載
| 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') 。