PaymentDetails Constructors

Definition

Overloads

PaymentDetails()

Initializes a new instance of the PaymentDetails class.

PaymentDetails(PaymentItem, IList<PaymentItem>, IList<PaymentShippingOption>, IList<PaymentDetailsModifier>, String)

Initializes a new instance of the PaymentDetails class.

PaymentDetails()

Initializes a new instance of the PaymentDetails class.

public PaymentDetails ();
Public Sub New ()

Applies to

PaymentDetails(PaymentItem, IList<PaymentItem>, IList<PaymentShippingOption>, IList<PaymentDetailsModifier>, String)

Initializes a new instance of the PaymentDetails class.

public PaymentDetails (Microsoft.Bot.Schema.PaymentItem total = default, System.Collections.Generic.IList<Microsoft.Bot.Schema.PaymentItem> displayItems = default, System.Collections.Generic.IList<Microsoft.Bot.Schema.PaymentShippingOption> shippingOptions = default, System.Collections.Generic.IList<Microsoft.Bot.Schema.PaymentDetailsModifier> modifiers = default, string error = default);
new Microsoft.Bot.Schema.PaymentDetails : Microsoft.Bot.Schema.PaymentItem * System.Collections.Generic.IList<Microsoft.Bot.Schema.PaymentItem> * System.Collections.Generic.IList<Microsoft.Bot.Schema.PaymentShippingOption> * System.Collections.Generic.IList<Microsoft.Bot.Schema.PaymentDetailsModifier> * string -> Microsoft.Bot.Schema.PaymentDetails
Public Sub New (Optional total As PaymentItem = Nothing, Optional displayItems As IList(Of PaymentItem) = Nothing, Optional shippingOptions As IList(Of PaymentShippingOption) = Nothing, Optional modifiers As IList(Of PaymentDetailsModifier) = Nothing, Optional error As String = Nothing)

Parameters

total
PaymentItem

Contains the total amount of the payment request.

displayItems
IList<PaymentItem>

Contains line items for the payment request that the user agent may display.

shippingOptions
IList<PaymentShippingOption>

A sequence containing the different shipping options for the user to choose from.

modifiers
IList<PaymentDetailsModifier>

Contains modifiers for particular payment method identifiers.

error
String

Error description.

Applies to