PaymentRequest 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
PaymentRequest() |
Initializes a new instance of the PaymentRequest class. |
PaymentRequest(String, IList<PaymentMethodData>, PaymentDetails, PaymentOptions, String) |
Initializes a new instance of the PaymentRequest class. |
PaymentRequest()
Initializes a new instance of the PaymentRequest class.
public PaymentRequest ();
Public Sub New ()
Applies to
PaymentRequest(String, IList<PaymentMethodData>, PaymentDetails, PaymentOptions, String)
Initializes a new instance of the PaymentRequest class.
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)
Parameters
- id
- String
ID of this payment request.
- methodData
- IList<PaymentMethodData>
Allowed payment methods for this request.
- details
- PaymentDetails
Details for this request.
- options
- PaymentOptions
Provides information about the options desired for the payment request.
- expires
- String
Expiration for this request, in ISO 8601 duration format (e.g., 'P1D').