共用方式為


PaymentResponse 類別

定義

警告

Bot Framework no longer supports payments.

當使用者選取付款條件並核准付款要求時,會傳回 PaymentResponse。

[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
繼承
PaymentResponse
屬性

建構函式

PaymentResponse()
已淘汰.

初始化 PaymentResponse 類別的新執行個體。

PaymentResponse(String, Object, PaymentAddress, String, String, String)
已淘汰.

初始化 PaymentResponse 類別的新執行個體。

屬性

Details
已淘汰.

取得或設定 JSON 可序列化物件,供應商家用來處理交易並判斷成功資金轉移的付款條件特定訊息。

MethodName
已淘汰.

取得或設定使用者選取要履行交易之付款條件的付款條件識別碼。

PayerEmail
已淘汰.

取得或設定如果 requestPayerEmail 旗標在傳遞至 PaymentRequest 建構函式的 PaymentOptions 中設定為 true,則 payerEmail 將會是使用者選擇的電子郵件地址。

PayerPhone
已淘汰.

取得或設定如果 requestPayerPhone 旗標在傳遞至 PaymentRequest 建構函式的 PaymentOptions 中設定為 true,則 payerPhone 將會是使用者所選擇的電話號碼。

ShippingAddress
已淘汰.

取得或設定如果 requestShipping 旗標在傳遞至 PaymentRequest 建構函式的 PaymentOptions 中設定為 true,則 shippingAddress 將會是使用者選擇的完整和最終寄送位址。

ShippingOption
已淘汰.

取得或設定如果 requestShipping 旗標在傳遞至 PaymentRequest 建構函式的 PaymentOptions 中設定為 true,則 shippingOption 會是所選出貨選項的 id 屬性。

適用於