سيتم إيقاف واجهة برمجة تطبيقات المعاملات في 3 أيار (مايو) 2023، قبل إيقاف ميزة "إجراءات المحادثات" في 13 حزيران (يونيو) 2023. لمزيد من المعلومات، يُرجى الاطّلاع على
إنهاء إجراءات المحادثة.
MerchantPaymentMethod
تنظيم صفحاتك في مجموعات
يمكنك حفظ المحتوى وتصنيفه حسب إعداداتك المفضّلة.
طريقة الدفع المقدَّمة من التاجر / الإجراء
الحقول |
paymentMethodGroup |
string
اختياريّ. اسم المجموعة أو الملف الشخصي الذي تنتمي إليه طريقة الدفع
|
paymentMethodId |
string
مطلوب. معرّف طريقة الدفع الذي تم تمريره من التاجر / الإجراء. تجدر الإشارة إلى أنّ هذا المعرّف يجب أن يكون فريدًا إذا تم إرسال عدّة طرق دفع من التاجر/الإجراء.
|
paymentMethodDisplayInfo |
object (PaymentMethodDisplayInfo )
مطلوب. يتم عرض معلومات طريقة الدفع هذه.
|
paymentMethodStatus |
object (PaymentMethodStatus )
اختياريّ. حالة طريقة الدفع في حال عدم توفّر طريقة الدفع، من المفترض أن تكون حالة طريقة الدفع "جيدة".
|
PaymentMethodStatus
تمثيل JSON |
{
"status": enum (Status ),
"statusMessage": string
} |
الحقول |
status |
enum (Status )
|
statusMessage |
string
رسالة تظهر للمستخدم بشأن حالة طريقة الدفع، أي "منتهية الصلاحية". هذه السمة مطلوبة فقط عندما تتطلب طريقة الدفع إصلاحًا أو عندما تكون غير قابلة للتطبيق.
|
إنّ محتوى هذه الصفحة مرخّص بموجب ترخيص Creative Commons Attribution 4.0 ما لم يُنصّ على خلاف ذلك، ونماذج الرموز مرخّصة بموجب ترخيص Apache 2.0. للاطّلاع على التفاصيل، يُرجى مراجعة سياسات موقع Google Developers. إنّ Java هي علامة تجارية مسجَّلة لشركة Oracle و/أو شركائها التابعين.
تاريخ التعديل الأخير: 2025-07-26 (حسب التوقيت العالمي المتفَّق عليه)
[null,null,["تاريخ التعديل الأخير: 2025-07-26 (حسب التوقيت العالمي المتفَّق عليه)"],[[["\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. |"]]