- JSON representation
- FinalizeOrderResponse
- OrderPricesResponse
- ValidateDeliveryAddressResponse
- ValidDeliveryStore
- OrderStatusResponse
The result of a client execution request.
| JSON representation |
|---|
{ "executionId": string, // The following is a list of mutually exclusive fields. At most one of the // fields will be set in a response: "finalizeOrderResponse": { object ( |
| Fields | |
|---|---|
executionId |
Required. The ID of the execution request this is a result for. |
| The specific result of the execution. The following is a list of mutually exclusive fields. At most one of the fields will be set in a response: | |
finalizeOrderResponse |
The result of finalizing the order. |
orderPricesResponse |
The result of getting the order prices. |
validateDeliveryAddressResponse |
The result of validating the delivery address. |
orderStatusResponse |
The result of getting the order status. |
| End of mutually exclusive fields. | |
FinalizeOrderResponse
The result of finalizing the order.
| JSON representation |
|---|
{ "paymentFlowEnabled": boolean, "paymentInfo": { object ( |
| Fields | |
|---|---|
paymentFlowEnabled |
Optional. Whether to enable the payment handling flow in the agent. |
paymentInfo |
Optional. The payment information of the customer. No-op if paymentFlowEnabled is false. Only |
totalAmountDue |
Optional. The total amount due for the order. |
orderPriceInfo |
Optional. The detailed price information of the order. |
OrderPricesResponse
The result of getting the order prices.
| JSON representation |
|---|
{
"success": boolean,
"orderPriceInfo": {
object ( |
| Fields | |
|---|---|
success |
Required. Whether the order prices were successfully retrieved. |
orderPriceInfo |
Optional. Total order price after all discounts, fees, taxes, etc |
ValidateDeliveryAddressResponse
The result of validating a delivery address.
| JSON representation |
|---|
{ "success": boolean, "validationStatus": enum ( |
| Fields | |
|---|---|
success |
Required. Whether or not the validation completed without error. |
validationStatus |
Required. The validation status of the delivery address. |
validDeliveryStores[] |
Optional. The list of valid stores that can deliver to the original delivery address. This should only be populated when the validation status is VALIDATION_STATUS_OUT_OF_RANGE. And will be ignored otherwise. |
ValidDeliveryStore
A store that can deliver to the specified delivery address.
| JSON representation |
|---|
{ "store": string } |
| Fields | |
|---|---|
store |
Required. The store that can deliver to the address. Format: |
OrderStatusResponse
The result of getting the order status.
| JSON representation |
|---|
{ "success": boolean } |
| Fields | |
|---|---|
success |
Required. Whether the order status was successfully retrieved. |