共用方式為


PaymentOptions interface

警告

此 API 現已淘汰。

Bot Framework no longer supports payments

提供付款要求所需選項的相關資訊

屬性

requestPayerEmail

指出使用者代理程式是否應該在付款要求中收集並傳回付款者的電子郵件地址

requestPayerName

指出使用者代理程式是否應該在付款要求中收集並傳回付款者的名稱

requestPayerPhone

指出使用者代理程式是否應該在付款要求中收集並傳回付款者的電話號碼

requestShipping

指出使用者代理程式是否應該在付款要求中收集並傳回寄送位址

shippingType

如果 requestShipping 設定為 true,則 shippingType 欄位可用來影響使用者代理程式呈現使用者介面來收集出貨位址的方式

屬性詳細資料

requestPayerEmail

指出使用者代理程式是否應該在付款要求中收集並傳回付款者的電子郵件地址

requestPayerEmail: boolean

屬性值

boolean

requestPayerName

指出使用者代理程式是否應該在付款要求中收集並傳回付款者的名稱

requestPayerName: boolean

屬性值

boolean

requestPayerPhone

指出使用者代理程式是否應該在付款要求中收集並傳回付款者的電話號碼

requestPayerPhone: boolean

屬性值

boolean

requestShipping

指出使用者代理程式是否應該在付款要求中收集並傳回寄送位址

requestShipping: boolean

屬性值

boolean

shippingType

如果 requestShipping 設定為 true,則 shippingType 欄位可用來影響使用者代理程式呈現使用者介面來收集出貨位址的方式

shippingType: string

屬性值

string