RequireCreditCard
使用集合让一切井井有条
根据您的偏好保存内容并对其进行分类。
枚举 |
REQUIRE_CREDIT_CARD_UNSPECIFIED |
未明确指定是否需要提供信用卡信息,且行为与为条件字段指定的行为相同。 |
REQUIRE_CREDIT_CARD_CONDITIONAL |
如果满足以下任一条件,Google 将要求在预订时提供信用卡信息:* 库存具有价格,且 prepaymentType 为“必填”* 已设置 noShowFee * 已设置“押金”字段。 |
REQUIRE_CREDIT_CARD_ALWAYS |
无论其他字段的值为何,预订此库存时均须提供信用卡信息。 |
如未另行说明,那么本页面中的内容已根据知识共享署名 4.0 许可获得了许可,并且代码示例已根据 Apache 2.0 许可获得了许可。有关详情,请参阅 Google 开发者网站政策。Java 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2025-07-25。
[null,null,["最后更新时间 (UTC):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. |"]]