PaymentOptions 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
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
Indicates whether the user agent should collect and return the payer's name as part of the payment request.
Indicates whether the user agent should collect and return the payer's email address as part of the payment request.
Indicates whether the user agent should collect and return the payer's phone number as part of the payment request.
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.