2023년 6월 13일에 대화형 작업이 종료되기 전에 2023년 5월 3일에 Transactions API가 지원 중단됩니다. 자세한 내용은
대화 작업 지원 중단을 참고하세요.
OrderOptions
컬렉션을 사용해 정리하기
내 환경설정을 기준으로 콘텐츠를 저장하고 분류하세요.
JSON 표현 |
{
"requestDeliveryAddress": boolean,
"userInfoOptions": {
object (UserInfoOptions )
}
} |
필드 |
requestDeliveryAddress |
boolean
true인 경우 관련 주문에 배송지 주소가 필요합니다.
|
userInfoOptions |
object (UserInfoOptions )
앱은 이 필드를 설정하여 사용자 정보를 요청할 수 있습니다. 설정되면 사용자 확인을 위해 해당 필드가 ProposedOrderCard에 표시됩니다.
|
달리 명시되지 않는 한 이 페이지의 콘텐츠에는 Creative Commons Attribution 4.0 라이선스에 따라 라이선스가 부여되며, 코드 샘플에는 Apache 2.0 라이선스에 따라 라이선스가 부여됩니다. 자세한 내용은 Google Developers 사이트 정책을 참조하세요. 자바는 Oracle 및/또는 Oracle 계열사의 등록 상표입니다.
최종 업데이트: 2025-07-26(UTC)
[null,null,["최종 업데이트: 2025-07-26(UTC)"],[[["\u003cp\u003eOrderOptions allows specifying if a delivery address is required and what user information to request.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003erequestDeliveryAddress\u003c/code\u003e is a boolean indicating if the order needs a delivery address.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003euserInfoOptions\u003c/code\u003e enables requesting specific user information, like email or phone number, for the order.\u003c/p\u003e\n"],["\u003cp\u003eThis information is displayed in the ProposedOrderCard for user confirmation.\u003c/p\u003e\n"]]],["The provided content outlines the structure for defining order options and user information requests. `requestDeliveryAddress` (boolean) determines if a delivery address is mandatory for an order. `userInfoOptions` (object) allows apps to request user data; if set, these fields appear in the ProposedOrderCard. `userInfoOptions` contains `userInfoProperties`, which lists the specific user information properties being requested as an array of enum. Each element can be a field of the `UserInfoProperty`.\n"],null,["# OrderOptions\n\n- [JSON representation](#SCHEMA_REPRESENTATION)\n- [UserInfoOptions](#UserInfoOptions)\n - [JSON representation](#UserInfoOptions.SCHEMA_REPRESENTATION)\n\nOptions associated with an order.\n\n| JSON representation ||\n|------------------------------------------------------------------------------------------------------------------------------------------------------------------------|---|\n| ``` { \"requestDeliveryAddress\": boolean, \"userInfoOptions\": { object (/assistant/df-asdk/transactions/reference/physical/rest/v3/OrderOptions#UserInfoOptions) } } ``` |\n\n| Fields ||\n|--------------------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `requestDeliveryAddress` | `boolean` If true, delivery address is required for the associated order. |\n| `userInfoOptions` | `object (`[UserInfoOptions](/assistant/df-asdk/transactions/reference/physical/rest/v3/OrderOptions#UserInfoOptions)`)` The app can request user info by setting this field. If set, the corresponding field will show up in ProposedOrderCard for user's confirmation. |\n\nUserInfoOptions\n---------------\n\nOptions regarding user info.\n\n| JSON representation ||\n|--------------------------------------------------------------------------------------------------------------------------|---|\n| ``` { \"userInfoProperties\": [ enum (/assistant/df-asdk/transactions/reference/physical/rest/v3/UserInfoProperty) ] } ``` |\n\n| Fields ||\n|------------------------|------------------------------------------------------------------------------------------------------------------------------------------|\n| `userInfoProperties[]` | `enum (`[UserInfoProperty](/assistant/df-asdk/transactions/reference/physical/rest/v3/UserInfoProperty)`)` List of user info properties. |"]]