Reference documentation and code samples for the Google Shopping Merchant Issue Resolution V1 Client class ItemLevelIssue.
The ItemLevelIssue of the product status.
Generated from protobuf message google.shopping.merchant.issueresolution.v1.AggregateProductStatus.ItemLevelIssue
Namespace
Google \ Shopping \ Merchant \ IssueResolution \ V1 \ AggregateProductStatusMethods
__construct
Constructor.
Parameters | |
---|---|
Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ code |
string
The error code of the issue. |
↳ severity |
int
How this issue affects serving of the offer. |
↳ resolution |
int
Whether the issue can be resolved by the merchant. |
↳ attribute |
string
The attribute's name, if the issue is caused by a single attribute. |
↳ description |
string
A short issue description in English. |
↳ detail |
string
A detailed issue description in English. |
↳ documentation_uri |
string
The URL of a web page to help with resolving this issue. |
↳ product_count |
int|string
The number of products affected by this issue. |
getCode
The error code of the issue.
Returns | |
---|---|
Type | Description |
string |
setCode
The error code of the issue.
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |
getSeverity
How this issue affects serving of the offer.
Returns | |
---|---|
Type | Description |
int |
setSeverity
How this issue affects serving of the offer.
Parameter | |
---|---|
Name | Description |
var |
int
|
Returns | |
---|---|
Type | Description |
$this |
getResolution
Whether the issue can be resolved by the merchant.
Returns | |
---|---|
Type | Description |
int |
setResolution
Whether the issue can be resolved by the merchant.
Parameter | |
---|---|
Name | Description |
var |
int
|
Returns | |
---|---|
Type | Description |
$this |
getAttribute
The attribute's name, if the issue is caused by a single attribute.
Returns | |
---|---|
Type | Description |
string |
setAttribute
The attribute's name, if the issue is caused by a single attribute.
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |
getDescription
A short issue description in English.
Returns | |
---|---|
Type | Description |
string |
setDescription
A short issue description in English.
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |
getDetail
A detailed issue description in English.
Returns | |
---|---|
Type | Description |
string |
setDetail
A detailed issue description in English.
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |
getDocumentationUri
The URL of a web page to help with resolving this issue.
Returns | |
---|---|
Type | Description |
string |
setDocumentationUri
The URL of a web page to help with resolving this issue.
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |
getProductCount
The number of products affected by this issue.
Returns | |
---|---|
Type | Description |
int|string |
setProductCount
The number of products affected by this issue.
Parameter | |
---|---|
Name | Description |
var |
int|string
|
Returns | |
---|---|
Type | Description |
$this |