TransactionDecisionValueSpec

Passed from the app as input for actions.intent.TRANSACTION_DECISION.

JSON representation
{
  "proposedOrder": {
    object(ProposedOrder)
  },
  "orderOptions": {
    object(OrderOptions)
  },
  "paymentOptions": {
    object(PaymentOptions)
  },
  "presentationOptions": {
    object(PresentationOptions)
  }
}
Fields
proposedOrder

object(ProposedOrder)

The proposed order that's ready for user to approve.

orderOptions

object(OrderOptions)

Options associated with the order.

paymentOptions

object(PaymentOptions)

Payment options for this order, or empty if no payment is associated with the order.

presentationOptions

object(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

string

callToAction can be one of the following values:

PLACE_ORDER: Used for placing an order. PAY: Used for a payment. BUY: Used for a purchase. SEND: Used for a money transfer. BOOK: Used for a booking. RESERVE: Used for reservation. SCHEDULE: Used for scheduling an appointment. SUBSCRIBE: Used for subscription.

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.