PaymentOptions interface
警告
此 API 現已淘汰。
Bot Framework no longer supports payments
提供付款要求所需選項的相關資訊
屬性
request |
指出使用者代理程式是否應該在付款要求中收集並傳回付款者的電子郵件地址 |
request |
指出使用者代理程式是否應該在付款要求中收集並傳回付款者的名稱 |
request |
指出使用者代理程式是否應該在付款要求中收集並傳回付款者的電話號碼 |
request |
指出使用者代理程式是否應該在付款要求中收集並傳回寄送位址 |
shipping |
如果 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