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


PaymentResponse Class

Definition

Caution

Bot Framework no longer supports payments.

A PaymentResponse is returned when a user has selected a payment method and approved a payment request.

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

Constructors

PaymentResponse()

Initializes a new instance of the PaymentResponse class.

PaymentResponse(String, Object, PaymentAddress, String, String, String)

Initializes a new instance of the PaymentResponse class.

Properties

Details

Gets or sets a JSON-serializable object that provides a payment method specific message used by the merchant to process the transaction and determine successful fund transfer.

MethodName

Gets or sets the payment method identifier for the payment method that the user selected to fulfill the transaction.

PayerEmail

Gets or sets if the requestPayerEmail flag was set to true in the PaymentOptions passed to the PaymentRequest constructor, then payerEmail will be the email address chosen by the user.

PayerPhone

Gets or sets if the requestPayerPhone flag was set to true in the PaymentOptions passed to the PaymentRequest constructor, then payerPhone will be the phone number chosen by the user.

ShippingAddress

Gets or sets if the requestShipping flag was set to true in the PaymentOptions passed to the PaymentRequest constructor, then shippingAddress will be the full and final shipping address chosen by the user.

ShippingOption

Gets or sets if the requestShipping flag was set to true in the PaymentOptions passed to the PaymentRequest constructor, then shippingOption will be the id attribute of the selected shipping option.

Applies to