語言

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
屬性

建構函式

名稱 Description
PaymentResponse()
已淘汰.

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

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

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

屬性

名稱 Description
Details
已淘汰.

取得或設定一個可序列化的 JSON 物件,提供商家用來處理交易並判斷資金轉移成功的支付方式專用訊息。

MethodName
已淘汰.

取得或設定使用者選擇的支付方式識別碼以完成交易。

PayerEmail
已淘汰.

如果 PaymentOptions 傳給 PaymentRequest 建構子的 PaymentOptions 中,請求 PayerEmail 標記被設定為 true,則 payerEmail 將是使用者選擇的電子郵件地址。

PayerPhone
已淘汰.

如果在傳遞給 PaymentRequest 建構器的 PaymentOptions 中,請求 PayerPhone 旗標被設定為 true,則 payerPhone 將是使用者所選擇的電話號碼。

ShippingAddress
已淘汰.

如果 PaymentOptions 傳給 PaymentRequest 建構子時,requestShipping 旗標被設定為 true,則 shippingAddress 將是使用者選擇的完整且最終的運送地址。

ShippingOption
已淘汰.

如果 PaymentOptions 傳給 PaymentRequest 建構子的 PaymentOptions 中,請求 ShippingShip 旗標設為 true,則 shippingOption 將成為所選運送選項的 id 屬性。

適用於