- JSON representation
- TransactionRequirementsCheckResult
- Order
- PaymentInfo
- GoogleProvidedPaymentInstrument
- CustomerInfo
Next Id: 6 Returned to the app as output for actions.intent.TRANSACTION_DECISION
.
JSON representation | |
---|---|
{ "checkResult": { object ( |
Fields | |
---|---|
checkResult |
If |
userDecision |
User decision regarding the proposed order. |
order |
The order that user has approved. This field will be present only when |
deliveryAddress |
If user requests for delivery address update, this field includes the new delivery address. This field will be present only when |
TransactionRequirementsCheckResult
Returned to the app as output for actions.intent.TRANSACTION_REQUIREMENTS_CHECK
.
JSON representation | |
---|---|
{
"resultType": enum ( |
Fields | |
---|---|
resultType |
Result of the operation. |
Order
Deprecated: Use V3 Proto instead. Confirmed order with payment details, if requested. Sent to agent.
JSON representation | |
---|---|
{ "finalOrder": { object ( |
Fields | |
---|---|
finalOrder |
Reflect back the proposed order that caused the order. |
googleOrderId |
Order id assigned by Google. |
orderDate |
date and time the order was created. A timestamp in RFC3339 UTC "Zulu" format, accurate to nanoseconds. Example: |
paymentInfo |
Payment related info for the order. |
actionOrderId |
Required: Merchant assigned internal order id. This id must be unique, and is required for subsequent order update operations. This id may be set to the provided googleOrderId, or any other unique value. Note that the id presented to users is the userVisibleOrderId, which may be a different, more user-friendly value. |
customerInfo |
If requested, customer info e.g. email will be passed back to the app. |
PaymentInfo
Deprecated: Use V3 Proto instead. Payment related info for an order.
JSON representation | |
---|---|
{ "paymentType": enum ( |
Fields | |
---|---|
paymentType |
type of payment. Required. |
displayName |
name of the instrument displayed on the receipt. |
googleProvidedPaymentInstrument |
Google provided payment instrument. |
GoogleProvidedPaymentInstrument
Google provided payment instrument.
JSON representation | |
---|---|
{
"instrumentToken": string,
"billingAddress": {
object ( |
Fields | |
---|---|
instrumentToken |
Google provided payment instrument. A base64-encoded string. |
billingAddress |
If requested by integrator, billing address for the instrument in use will be included. |
CustomerInfo
Deprecated: Use V3 Proto instead. Information about customer.
JSON representation | |
---|---|
{ "email": string } |
Fields | |
---|---|
email |
Customer email will be included and returned to the app if CustomerInfoProperty.EMAIL specified in CustomerInfoOptions. |