Reference documentation and code samples for the Google Shopping Merchant Reports V1beta Client class ItemIssueType.
Issue type.
Generated from protobuf message google.shopping.merchant.reports.v1beta.ProductView.ItemIssue.ItemIssueType
Namespace
Google \ Shopping \ Merchant \ Reports \ V1beta \ ProductView \ ItemIssueMethods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ code |
string
Error code of the issue, equivalent to the |
↳ canonical_attribute |
string
Canonical attribute name for attribute-specific issues. |
getCode
Error code of the issue, equivalent to the code of Product
issues.
| Returns | |
|---|---|
| Type | Description |
string |
|
hasCode
clearCode
setCode
Error code of the issue, equivalent to the code of Product
issues.
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getCanonicalAttribute
Canonical attribute name for attribute-specific issues.
| Returns | |
|---|---|
| Type | Description |
string |
|
hasCanonicalAttribute
clearCanonicalAttribute
setCanonicalAttribute
Canonical attribute name for attribute-specific issues.
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|