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

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
NameDescription
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
TypeDescription
string

hasCode

clearCode

setCode

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

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getCanonicalAttribute

Canonical attribute name for attribute-specific issues.

Returns
TypeDescription
string

hasCanonicalAttribute

clearCanonicalAttribute

setCanonicalAttribute

Canonical attribute name for attribute-specific issues.

Parameter
NameDescription
var string
Returns
TypeDescription
$this