перечисления | |
---|---|
STATUS_UNSPECIFIED | |
STATUS_OK | Способ оплаты подходит для использования. |
STATUS_REQUIRE_FIX | Способ оплаты требует исправления перед использованием. |
STATUS_INAPPLICABLE | Способ оплаты не может быть использован. |
Status
Если не указано иное, контент на этой странице предоставляется по лицензии Creative Commons "С указанием авторства 4.0", а примеры кода – по лицензии Apache 2.0. Подробнее об этом написано в правилах сайта. Java – это зарегистрированный товарный знак корпорации Oracle и ее аффилированных лиц.
Последнее обновление: 2025-07-24 UTC.
[null,null,["Последнее обновление: 2025-07-24 UTC."],[[["\u003cp\u003ePayment methods can have one of four statuses: unspecified, ok, require fix, or inapplicable.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eSTATUS_OK\u003c/code\u003e indicates the payment method is ready for use, while \u003ccode\u003eSTATUS_REQUIRE_FIX\u003c/code\u003e signals the need for adjustments before it can be used.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eSTATUS_INAPPLICABLE\u003c/code\u003e signifies that the payment method cannot be utilized, and \u003ccode\u003eSTATUS_UNSPECIFIED\u003c/code\u003e serves as a default or neutral state.\u003c/p\u003e\n"]]],["The core content defines an enumeration (`Enums`) with four possible statuses for a payment method. `STATUS_UNSPECIFIED` is undefined. `STATUS_OK` indicates the payment method is valid. `STATUS_REQUIRE_FIX` means the payment method needs correction before use. Finally, `STATUS_INAPPLICABLE` signifies that the payment method is not usable. These statuses dictate the usability and state of a given payment method.\n"],null,["# Status\n\n| Enums ||\n|-----------------------|-------------------------------------------|\n| `STATUS_UNSPECIFIED` | |\n| `STATUS_OK` | Payment method is ok to use. |\n| `STATUS_REQUIRE_FIX` | Payment method requires fix before using. |\n| `STATUS_INAPPLICABLE` | Payment method cannot be used. |"]]