Transactions API のサポートは 2023 年 6 月 13 日に終了します。2023 年 5 月 3 日に終了します。詳細については、
会話型アクションの廃止をご覧ください。
OrderOptions
JSON 表現 |
{
"requestDeliveryAddress": boolean,
"userInfoOptions": {
object (UserInfoOptions )
}
} |
フィールド |
requestDeliveryAddress |
boolean
true の場合、関連する注文に配送先住所が必要です。
|
userInfoOptions |
object (UserInfoOptions )
アプリは、このフィールドを設定することでユーザー情報をリクエストできます。設定すると、ユーザーによる確認のために、対応するフィールドが ProposedOrderCard に表示されます。
|
特に記載のない限り、このページのコンテンツはクリエイティブ・コモンズの表示 4.0 ライセンスにより使用許諾されます。コードサンプルは Apache 2.0 ライセンスにより使用許諾されます。詳しくは、Google Developers サイトのポリシーをご覧ください。Java は Oracle および関連会社の登録商標です。
最終更新日 2024-08-29 UTC。
[null,null,["最終更新日 2024-08-29 UTC。"],[[["OrderOptions allows specifying if a delivery address is required and provides options for requesting user information."],["`requestDeliveryAddress` is a boolean indicating whether the order requires a delivery address."],["`userInfoOptions` enables the app to request specific user information, such as name, email, or phone number, which will be displayed for confirmation in the ProposedOrderCard."],["`userInfoProperties` is a list of user info properties that the app can request, including options like given name, family name, email, and phone number."]]],["The document defines order options using JSON. It allows specifying whether a delivery address is required (`requestDeliveryAddress`), represented by a boolean. It also defines `userInfoOptions`, an object enabling apps to request user information. `userInfoOptions` uses `userInfoProperties`, an array of enumerated user info properties, for the specific details to be requested. If set, these fields appear in the ProposedOrderCard for user confirmation. The provided data structure and its types are detailed in associated tables.\n"]]