交易 API 將於 2023 年 5 月 3 日淘汰,並將於 2023 年 6 月 13 日淘汰。詳情請參閱「
對話動作已淘汰」。
MerchantPaymentMethod
欄位 |
paymentMethodGroup |
string
選用設定。付款方式所屬的群組 / 個人資料名稱。
|
paymentMethodId |
string
必要欄位。商家 / 動作所提供付款方式的 ID。請注意,如果商家/動作傳送了多種付款方式,則此 ID 不得重複。
|
paymentMethodDisplayInfo |
object (PaymentMethodDisplayInfo )
必要欄位。顯示這個付款方式的資訊。
|
paymentMethodStatus |
object (PaymentMethodStatus )
選用設定。付款方式的狀態。如果沒有顯示,系統會假設付款方式處於「確定」狀態。
|
PaymentMethodStatus
JSON 表示法 |
{
"status": enum (Status ),
"statusMessage": string
} |
欄位 |
status |
enum (Status )
|
statusMessage |
string
向使用者顯示的付款方式狀態訊息,例如「已過期」。只有在付款方式必須修正或不適用時,才需要填寫。
|
除非另有註明,否則本頁面中的內容是採用創用 CC 姓名標示 4.0 授權,程式碼範例則為阿帕契 2.0 授權。詳情請參閱《Google Developers 網站政策》。Java 是 Oracle 和/或其關聯企業的註冊商標。
上次更新時間:2024-09-12 (世界標準時間)。
[null,null,["上次更新時間:2024-09-12 (世界標準時間)。"],[[["PaymentMethod objects represent payment methods provided by merchants or actions."],["Each PaymentMethod has an ID, display information, and an optional status."],["PaymentMethodStatus indicates the current status of a payment method, such as \"OK\", and may include a user-facing message."],["Payment methods can be grouped using the `paymentMethodGroup` field."]]],["This document outlines the structure and status of payment methods provided by a merchant or action. A payment method is defined by a unique `paymentMethodId`, its `paymentMethodGroup`, and `paymentMethodDisplayInfo`. Optionally, each can have a `paymentMethodStatus`, which includes a status enum and a user-facing `statusMessage`. The `paymentMethodStatus` indicates if a fix is required or the payment method is inapplicable; otherwise, it defaults to \"OK.\" All of this is conveyed through a specific JSON structure.\n"]]