Google Shopping Merchant Products V1beta Client - Class ItemLevelIssue (0.1.0)

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 \ ProductStatus

Methods

__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 string

Whether the issue can be resolved by the merchant.

↳ attribute string

The attribute's name, if the issue is caused by a single attribute.

↳ reporting_context int

The reporting context the issue applies to.

↳ description string

A short issue description in English.

↳ detail string

A detailed issue description in English.

↳ documentation string

The URL of a web page to help with resolving this issue.

↳ applicable_countries array

List 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

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
string

setResolution

Whether the issue can be resolved by the merchant.

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

setReportingContext

The reporting context the issue applies to.

Parameter
Name Description
var int
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