MerchantPaymentMethod
จัดทุกอย่างให้เป็นระเบียบอยู่เสมอด้วยคอลเล็กชัน
บันทึกและจัดหมวดหมู่เนื้อหาตามค่ากำหนดของคุณ
วิธีการชำระเงินที่ระบุโดยผู้ขาย / การดำเนินการ
ช่อง |
paymentMethodGroup |
string
ไม่บังคับ ชื่อกลุ่ม / โปรไฟล์ที่มีวิธีการชำระเงิน
|
paymentMethodId |
string
ต้องระบุ รหัสของวิธีการชำระเงินที่ส่งผ่านจากผู้ขาย / การดำเนินการ โปรดทราบว่ารหัสนี้ต้องไม่ซ้ำกันหากผู้ขาย/การดำเนินการส่งวิธีการชำระเงินหลายวิธี
|
paymentMethodDisplayInfo |
object (PaymentMethodDisplayInfo )
ต้องระบุ แสดงข้อมูลของวิธีการชำระเงินนี้
|
paymentMethodStatus |
object (PaymentMethodStatus )
ไม่บังคับ สถานะของวิธีการชำระเงิน หากไม่มี แสดงว่าวิธีการชำระเงินนั้นอยู่ในสถานะปกติ
|
PaymentMethodStatus
การแสดง JSON |
{
"status": enum (Status ),
"statusMessage": string
} |
ช่อง |
status |
enum (Status )
|
statusMessage |
string
ข้อความที่แสดงต่อผู้ใช้เกี่ยวกับสถานะวิธีการชำระเงิน เช่น "หมดอายุ" ระบุเฉพาะเมื่อวิธีการชำระเงินต้องได้รับการแก้ไขหรือไม่เกี่ยวข้องเท่านั้น
|
เนื้อหาของหน้าเว็บนี้ได้รับอนุญาตภายใต้ใบอนุญาตที่ต้องระบุที่มาของครีเอทีฟคอมมอนส์ 4.0 และตัวอย่างโค้ดได้รับอนุญาตภายใต้ใบอนุญาต Apache 2.0 เว้นแต่จะระบุไว้เป็นอย่างอื่น โปรดดูรายละเอียดที่นโยบายเว็บไซต์ Google Developers Java เป็นเครื่องหมายการค้าจดทะเบียนของ Oracle และ/หรือบริษัทในเครือ
อัปเดตล่าสุด 2025-07-26 UTC
[null,null,["อัปเดตล่าสุด 2025-07-26 UTC"],[[["\u003cp\u003eThe \u003ccode\u003eMerchantPaymentMethod\u003c/code\u003e object represents a payment method provided by a merchant or action, including details like ID, display information, and status.\u003c/p\u003e\n"],["\u003cp\u003eEach payment method has a unique ID (\u003ccode\u003epaymentMethodId\u003c/code\u003e) and can belong to a group (\u003ccode\u003epaymentMethodGroup\u003c/code\u003e).\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003ePaymentMethodDisplayInfo\u003c/code\u003e provides display details for the payment method.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003ePaymentMethodStatus\u003c/code\u003e indicates the current status of the payment method, including a user-facing message if needed.\u003c/p\u003e\n"]]],["Merchants/Actions provide payment methods, each with a unique `paymentMethodId`. Each method includes display information (`paymentMethodDisplayInfo`) and an optional status (`paymentMethodStatus`). The `paymentMethodStatus` object details the payment method's state using an enum `status` and a `statusMessage` for issues like expiration. The `paymentMethodGroup` field is used to categorize payment method. If the status is not present, it's assumed to be \"OK\".\n"],null,["# MerchantPaymentMethod\n\n- [JSON representation](#SCHEMA_REPRESENTATION)\n- [PaymentMethodStatus](#PaymentMethodStatus)\n - [JSON representation](#PaymentMethodStatus.SCHEMA_REPRESENTATION)\n\nPayment method provided by Merchant / Action.\n\n| JSON representation ||\n|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|---|\n| ``` { \"paymentMethodGroup\": string, \"paymentMethodId\": string, \"paymentMethodDisplayInfo\": { object (/assistant/df-asdk/transactions/reference/physical/rest/v3/Order#PaymentMethodDisplayInfo) }, \"paymentMethodStatus\": { object (/assistant/df-asdk/transactions/reference/physical/rest/v3/MerchantPaymentMethod#PaymentMethodStatus) } } ``` |\n\n| Fields ||\n|----------------------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `paymentMethodGroup` | `string` Optional. The group / profile name that the payment method belongs to. |\n| `paymentMethodId` | `string` Required. Id of the payment method passed from merchant / action. Note this id is should be unique if multiple payment methods are sent from Merchant/Action. |\n| `paymentMethodDisplayInfo` | `object (`[PaymentMethodDisplayInfo](/assistant/df-asdk/transactions/reference/physical/rest/v3/Order#PaymentMethodDisplayInfo)`)` Required. Display info of this payment method. |\n| `paymentMethodStatus` | `object (`[PaymentMethodStatus](/assistant/df-asdk/transactions/reference/physical/rest/v3/MerchantPaymentMethod#PaymentMethodStatus)`)` Optional. Status of the payment method. If not present, the payment method is assumed to be in OK status. |\n\nPaymentMethodStatus\n-------------------\n\nStatus of a payment method\n\n| JSON representation ||\n|-------------------------------------------------------------------------------------------------------------------------|---|\n| ``` { \"status\": enum (/assistant/df-asdk/transactions/reference/physical/rest/v3/Status), \"statusMessage\": string } ``` |\n\n| Fields ||\n|-----------------|------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `status` | `enum (`[Status](/assistant/df-asdk/transactions/reference/physical/rest/v3/Status)`)` |\n| `statusMessage` | `string` User facing message regarding the payment method status, i.e. \"Expired\". Only required when payment method requires fix or is inapplicable. |"]]