Page Summary
-
This content describes a type within the deprecated Orders version 2 API.
-
The
TransactionDecisionValueSpecis passed from the app as input foractions.intent.TRANSACTION_DECISION. -
It includes fields for the proposed order, order options, payment options, and presentation options.
-
PresentationOptionscustomize how the order is presented to the user, including acallToActionfield to specify the action verb.
Passed from the app as input for actions.intent.TRANSACTION_DECISION.
| JSON representation | |
|---|---|
{ "proposedOrder": { object( |
|
| Fields | |
|---|---|
proposedOrder |
The proposed order that's ready for user to approve. |
orderOptions |
Options associated with the order. |
paymentOptions |
Payment options for this order, or empty if no payment is associated with the order. |
presentationOptions |
Options used to customize order presentation to the user. |
PresentationOptions
Options used to customize the order presentation to the user.
| JSON representation | |
|---|---|
{ "callToAction": string } |
|
| Fields | |
|---|---|
callToAction |
callToAction can be one of the following values:
callToAction refers to the action verb which best describes this order. This will be used in various places like prompt, suggestion chip etc while proposing the order to the user. |