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

Reference documentation and code samples for the Google Shopping Merchant Reports V1beta Client class ItemIssue.

Item issue associated with the product.

Generated from protobuf message google.shopping.merchant.reports.v1beta.ProductView.ItemIssue

Namespace

Google \ Shopping \ Merchant \ Reports \ V1beta \ ProductView

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ type Google\Shopping\Merchant\Reports\V1beta\ProductView\ItemIssue\ItemIssueType

Item issue type.

↳ severity Google\Shopping\Merchant\Reports\V1beta\ProductView\ItemIssue\ItemIssueSeverity

Item issue severity.

↳ resolution int

Item issue resolution.

getType

Item issue type.

Returns
TypeDescription
Google\Shopping\Merchant\Reports\V1beta\ProductView\ItemIssue\ItemIssueType|null

hasType

clearType

setType

Item issue type.

Parameter
NameDescription
var Google\Shopping\Merchant\Reports\V1beta\ProductView\ItemIssue\ItemIssueType
Returns
TypeDescription
$this

getSeverity

Item issue severity.

Returns
TypeDescription
Google\Shopping\Merchant\Reports\V1beta\ProductView\ItemIssue\ItemIssueSeverity|null

hasSeverity

clearSeverity

setSeverity

Item issue severity.

Parameter
NameDescription
var Google\Shopping\Merchant\Reports\V1beta\ProductView\ItemIssue\ItemIssueSeverity
Returns
TypeDescription
$this

getResolution

Item issue resolution.

Returns
TypeDescription
int

hasResolution

clearResolution

setResolution

Item issue resolution.

Parameter
NameDescription
var int
Returns
TypeDescription
$this