इसके माध्यम से साझा किया गया


PaymentOptions Constructors

Definition

Overloads

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.

PaymentOptions()

Initializes a new instance of the PaymentOptions class.

public PaymentOptions ();
Public Sub New ()

Applies to

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

Initializes a new instance of the PaymentOptions class.

public PaymentOptions (bool? requestPayerName = default, bool? requestPayerEmail = default, bool? requestPayerPhone = default, bool? requestShipping = default, string shippingType = default);
new Microsoft.Bot.Schema.PaymentOptions : Nullable<bool> * Nullable<bool> * Nullable<bool> * Nullable<bool> * string -> Microsoft.Bot.Schema.PaymentOptions
Public Sub New (Optional requestPayerName As Nullable(Of Boolean) = Nothing, Optional requestPayerEmail As Nullable(Of Boolean) = Nothing, Optional requestPayerPhone As Nullable(Of Boolean) = Nothing, Optional requestShipping As Nullable(Of Boolean) = Nothing, Optional shippingType As String = Nothing)

Parameters

requestPayerName
Nullable<Boolean>

Indicates whether the user agent should collect and return the payer's name as part of the payment request.

requestPayerEmail
Nullable<Boolean>

Indicates whether the user agent should collect and return the payer's email address as part of the payment request.

requestPayerPhone
Nullable<Boolean>

Indicates whether the user agent should collect and return the payer's phone number as part of the payment request.

requestShipping
Nullable<Boolean>

Indicates whether the user agent should collect and return a shipping address as part of the payment request.

shippingType
String

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