Reference documentation and code samples for the Google Shopping Merchant Products V1beta Client class ItemLevelIssue.
The ItemLevelIssue of the product status.
Generated from protobuf message google.shopping.merchant.products.v1beta.ProductStatus.ItemLevelIssue
Namespace
Google \ Shopping \ Merchant \ Products \ V1beta \ ProductStatusMethods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description | 
| data | arrayOptional. Data for populating the Message object. | 
| ↳ code | stringThe error code of the issue. | 
| ↳ severity | intHow this issue affects serving of the offer. | 
| ↳ resolution | stringWhether the issue can be resolved by the business. | 
| ↳ attribute | stringThe attribute's name, if the issue is caused by a single attribute. | 
| ↳ reporting_context | intThe reporting context the issue applies to. | 
| ↳ description | stringA short issue description in English. | 
| ↳ detail | stringA detailed issue description in English. | 
| ↳ documentation | stringThe URL of a web page to help with resolving this issue. | 
| ↳ applicable_countries | arrayList of country codes (ISO 3166-1 alpha-2) where issue applies to the offer. | 
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 | Enum of type Severity. | 
setSeverity
How this issue affects serving of the offer.
| Parameter | |
|---|---|
| Name | Description | 
| var | intEnum of type Severity. | 
| Returns | |
|---|---|
| Type | Description | 
| $this | |
getResolution
Whether the issue can be resolved by the business.
| Returns | |
|---|---|
| Type | Description | 
| string | |
setResolution
Whether the issue can be resolved by the business.
| Parameter | |
|---|---|
| Name | Description | 
| var | string | 
| 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 | |
getReportingContext
The reporting context the issue applies to.
| Returns | |
|---|---|
| Type | Description | 
| int | Enum of type ReportingContextEnum. | 
setReportingContext
The reporting context the issue applies to.
| Parameter | |
|---|---|
| Name | Description | 
| var | intEnum of type ReportingContextEnum. | 
| 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 | |
getDocumentation
The URL of a web page to help with resolving this issue.
| Returns | |
|---|---|
| Type | Description | 
| string | |
setDocumentation
The URL of a web page to help with resolving this issue.
| Parameter | |
|---|---|
| Name | Description | 
| var | string | 
| Returns | |
|---|---|
| Type | Description | 
| $this | |
getApplicableCountries
List of country codes (ISO 3166-1 alpha-2) where issue applies to the offer.
| Returns | |
|---|---|
| Type | Description | 
| Google\Protobuf\Internal\RepeatedField | |
setApplicableCountries
List of country codes (ISO 3166-1 alpha-2) where issue applies to the offer.
| Parameter | |
|---|---|
| Name | Description | 
| var | string[] | 
| Returns | |
|---|---|
| Type | Description | 
| $this | |