Share via


PaymentOptions Class

Definition

Caution

Bot Framework no longer supports payments.

Provides information about the options desired for the payment request.

[System.Obsolete("Bot Framework no longer supports payments.")]
public class PaymentOptions
[<System.Obsolete("Bot Framework no longer supports payments.")>]
type PaymentOptions = class
Public Class PaymentOptions
Inheritance
PaymentOptions
Attributes

Constructors

PaymentOptions()

Initializes a new instance of the PaymentOptions class.

PaymentOptions(Nullable<Boolean>, Nullable<Boolean>, Nullable<Boolean>, Nullable<Boolean>, String)

Initializes a new instance of the PaymentOptions class.

Properties

RequestPayerEmail

Gets or sets indicates whether the user agent should collect and return the payer's email address as part of the payment request.

RequestPayerName

Gets or sets indicates whether the user agent should collect and return the payer's name as part of the payment request.

RequestPayerPhone

Gets or sets indicates whether the user agent should collect and return the payer's phone number as part of the payment request.

RequestShipping

Gets or sets indicates whether the user agent should collect and return a shipping address as part of the payment request.

ShippingType

Gets or sets if requestShipping is set to true, then the shippingType field may be used to influence the way the user agent presents the user interface for gathering the shipping address.

Applies to