Google Shopping Merchant Reports V1beta Client - Class ItemIssueType (0.7.1)

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

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ code string

Error code of the issue, equivalent to the code of Product issues.

↳ 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