Transactions API در 3 مه 2023 منسوخ خواهد شد، قبل از غروب کنشهای مکالمه در 13 ژوئن 2023. برای اطلاعات بیشتر،
غروب کنشهای مکالمه را ببینید.
MerchantPaymentMethod
با مجموعهها، منظم بمانید
ذخیره و طبقهبندی محتوا براساس اولویتهای شما.
روش پرداخت ارائه شده توسط Merchant / Action.
فیلدها |
---|
paymentMethodGroup | string اختیاری. نام گروه / نمایه ای که روش پرداخت به آن تعلق دارد. |
paymentMethodId | string مورد نیاز. شناسه روش پرداخت ارسال شده از تاجر / اقدام. توجه داشته باشید که اگر چندین روش پرداخت از Merchant/Action ارسال شده باشد، این شناسه باید منحصر به فرد باشد. |
paymentMethodDisplayInfo | object ( PaymentMethodDisplayInfo ) مورد نیاز. نمایش اطلاعات این روش پرداخت. |
paymentMethodStatus | object ( PaymentMethodStatus ) اختیاری. وضعیت روش پرداخت در صورت عدم وجود، روش پرداخت در وضعیت OK فرض می شود. |
وضعیت روش پرداخت
نمایندگی JSON |
---|
{
"status": enum (Status ),
"statusMessage": string
} |
فیلدها |
---|
status | enum ( Status ) |
statusMessage | string پیام روبروی کاربر در مورد وضعیت روش پرداخت، یعنی "منقضی شده". فقط زمانی لازم است که روش پرداخت نیاز به اصلاح داشته باشد یا غیرقابل اجرا باشد. |
جز در مواردی که غیر از این ذکر شده باشد،محتوای این صفحه تحت مجوز Creative Commons Attribution 4.0 License است. نمونه کدها نیز دارای مجوز Apache 2.0 License است. برای اطلاع از جزئیات، به خطمشیهای سایت Google Developers مراجعه کنید. جاوا علامت تجاری ثبتشده Oracle و/یا شرکتهای وابسته به آن است.
تاریخ آخرین بهروزرسانی 2025-07-25 بهوقت ساعت هماهنگ جهانی.
[null,null,["تاریخ آخرین بهروزرسانی 2025-07-25 بهوقت ساعت هماهنگ جهانی."],[[["\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. |"]]