PaymentDetailsModifier 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
PaymentDetailsModifier() |
Initializes a new instance of the PaymentDetailsModifier class. |
PaymentDetailsModifier(IList<String>, PaymentItem, IList<PaymentItem>, Object) |
Initializes a new instance of the PaymentDetailsModifier class. |
PaymentDetailsModifier()
Initializes a new instance of the PaymentDetailsModifier class.
public PaymentDetailsModifier ();
Public Sub New ()
Applies to
PaymentDetailsModifier(IList<String>, PaymentItem, IList<PaymentItem>, Object)
Initializes a new instance of the PaymentDetailsModifier class.
public PaymentDetailsModifier (System.Collections.Generic.IList<string> supportedMethods = default, Microsoft.Bot.Schema.PaymentItem total = default, System.Collections.Generic.IList<Microsoft.Bot.Schema.PaymentItem> additionalDisplayItems = default, object data = default);
new Microsoft.Bot.Schema.PaymentDetailsModifier : System.Collections.Generic.IList<string> * Microsoft.Bot.Schema.PaymentItem * System.Collections.Generic.IList<Microsoft.Bot.Schema.PaymentItem> * obj -> Microsoft.Bot.Schema.PaymentDetailsModifier
Public Sub New (Optional supportedMethods As IList(Of String) = Nothing, Optional total As PaymentItem = Nothing, Optional additionalDisplayItems As IList(Of PaymentItem) = Nothing, Optional data As Object = Nothing)
Parameters
- total
- PaymentItem
This value overrides the total field in the PaymentDetails dictionary for the payment method identifiers in the supportedMethods field.
- additionalDisplayItems
- IList<PaymentItem>
Provides additional display items that are appended to the displayItems field in the PaymentDetails dictionary for the payment method identifiers in the supportedMethods field.
- data
- Object
A JSON-serializable object that provides optional information that might be needed by the supported payment methods.