Reference documentation and code samples for the Google Shopping Merchant Issue Resolution V1 Client class Reason.
A single reason why the action is not available.
Generated from protobuf message google.shopping.merchant.issueresolution.v1.Action.Reason
Namespace
Google \ Shopping \ Merchant \ IssueResolution \ V1 \ ActionMethods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ message
string
Messages summarizing the reason, why the action is not available. For example: "Review requested on Jan 03. Review requests can take a few days to complete."
↳ detail
string
Detailed explanation of the reason. Should be displayed as a hint if present.
↳ action
Action
Optional. An action that needs to be performed to solve the problem represented by this reason. This action will always be available. Should be rendered as a link or button next to the summarizing message. For example, the review may be available only once the business configure all required attributes. In such a situation this action can be a link to the form, where they can fill the missing attribute to unblock the main action.
getMessage
Messages summarizing the reason, why the action is not available.
For example: "Review requested on Jan 03. Review requests can take a few days to complete."
string
setMessage
Messages summarizing the reason, why the action is not available.
For example: "Review requested on Jan 03. Review requests can take a few days to complete."
var
string
$this
getDetail
Detailed explanation of the reason. Should be displayed as a hint if present.
string
hasDetail
clearDetail
setDetail
Detailed explanation of the reason. Should be displayed as a hint if present.
var
string
$this
getAction
Optional. An action that needs to be performed to solve the problem represented by this reason. This action will always be available. Should be rendered as a link or button next to the summarizing message.
For example, the review may be available only once the business configure all required attributes. In such a situation this action can be a link to the form, where they can fill the missing attribute to unblock the main action.
hasAction
clearAction
setAction
Optional. An action that needs to be performed to solve the problem represented by this reason. This action will always be available. Should be rendered as a link or button next to the summarizing message.
For example, the review may be available only once the business configure all required attributes. In such a situation this action can be a link to the form, where they can fill the missing attribute to unblock the main action.
$this