RequireCreditCard
透過集合功能整理內容
你可以依據偏好儲存及分類內容。
列舉 |
REQUIRE_CREDIT_CARD_UNSPECIFIED |
未明確指定信用卡規定,其行為與針對「CONDITIONAL」指定的行為相同。 |
REQUIRE_CREDIT_CARD_CONDITIONAL |
只要符合以下任一條件,Google 就會要求必須提供信用卡才能預訂:* 供應情形設有價格,且 prepaymentType 設為 REQUIRED * 已設定 noShowFee * 已設定訂金欄位。 |
REQUIRE_CREDIT_CARD_ALWAYS |
無論其他欄位值為何,都必須要有信用卡才能預訂此供應時段。 |
除非另有註明,否則本頁面中的內容是採用創用 CC 姓名標示 4.0 授權,程式碼範例則為阿帕契 2.0 授權。詳情請參閱《Google Developers 網站政策》。Java 是 Oracle 和/或其關聯企業的註冊商標。
上次更新時間:2025-07-25 (世界標準時間)。
[null,null,["上次更新時間:2025-07-25 (世界標準時間)。"],[[["\u003cp\u003eCredit card requirements depend on factors like pricing, prepayment needs, no-show fees, and deposit requirements.\u003c/p\u003e\n"],["\u003cp\u003eBookings may require a credit card if there's a price and prepayment is required, a no-show fee is set, or a deposit is needed.\u003c/p\u003e\n"],["\u003cp\u003eSome bookings always require a credit card, regardless of other conditions.\u003c/p\u003e\n"]]],[],null,["# RequireCreditCard\n\nDefines whether a credit card is required in order to book an appointment.\n\n| Enums ||\n|-----------------------------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `REQUIRE_CREDIT_CARD_UNSPECIFIED` | The credit card requirement is not explicitly specified and the behaviour is identical to the one specified for CONDITIONAL. |\n| `REQUIRE_CREDIT_CARD_CONDITIONAL` | Google will require a credit card for the booking if any of the following conditions are met: \\* the availability has a price and the prepaymentType is REQUIRED \\* the noShowFee is set \\* the deposit field is set. |\n| `REQUIRE_CREDIT_CARD_ALWAYS` | A credit card is always required in order to book this availability regardless of other field values. |"]]