Reference documentation and code samples for the Google Shopping Merchant Issue Resolution V1 Client class TriggerActionPayload.
The payload for the triggered action.
Generated from protobuf message google.shopping.merchant.issueresolution.v1.TriggerActionPayload
Namespace
Google \ Shopping \ Merchant \ IssueResolution \ V1Methods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ action_context |
string
Required. The context from the selected action. The value is obtained from rendered issues and needs to be sent back to identify the action that is being triggered. |
↳ action_input |
ActionInput
Required. Input provided by the business. |
getActionContext
Required. The context from the selected action. The value is obtained from rendered issues and needs to be sent back to identify the action that is being triggered.
| Returns | |
|---|---|
| Type | Description |
string |
|
setActionContext
Required. The context from the selected action. The value is obtained from rendered issues and needs to be sent back to identify the action that is being triggered.
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getActionInput
Required. Input provided by the business.
| Returns | |
|---|---|
| Type | Description |
ActionInput|null |
|
hasActionInput
clearActionInput
setActionInput
Required. Input provided by the business.
| Parameter | |
|---|---|
| Name | Description |
var |
ActionInput
|
| Returns | |
|---|---|
| Type | Description |
$this |
|