Google Shopping Css V1 Client - Class ItemLevelIssue (0.3.2)

Reference documentation and code samples for the Google Shopping Css V1 Client class ItemLevelIssue.

The ItemLevelIssue of the product status.

Generated from protobuf message google.shopping.css.v1.CssProductStatus.ItemLevelIssue

Namespace

Google \ Shopping \ Css \ V1 \ CssProductStatus

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ code string

The error code of the issue.

↳ servability string

How this issue affects serving of the aggregate 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.

↳ destination string

The destination 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 aggregate 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

getServability

How this issue affects serving of the aggregate offer.

Returns
Type Description
string

setServability

How this issue affects serving of the aggregate offer.

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

getDestination

The destination the issue applies to.

Returns
Type Description
string

setDestination

The destination the issue applies to.

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

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 aggregate offer.

Returns
Type Description
Google\Protobuf\Internal\RepeatedField

setApplicableCountries

List of country codes (ISO 3166-1 alpha-2) where issue applies to the aggregate offer.

Parameter
Name Description
var string[]
Returns
Type Description
$this