Google Shopping Merchant Reports V1beta Client - Class ItemIssue (0.8.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
Name Description
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
Type Description
Google\Shopping\Merchant\Reports\V1beta\ProductView\ItemIssue\ItemIssueType|null

hasType

clearType

setType

Item issue type.

Parameter
Name Description
var Google\Shopping\Merchant\Reports\V1beta\ProductView\ItemIssue\ItemIssueType
Returns
Type Description
$this

getSeverity

Item issue severity.

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

hasSeverity

clearSeverity

setSeverity

Item issue severity.

Parameter
Name Description
var Google\Shopping\Merchant\Reports\V1beta\ProductView\ItemIssue\ItemIssueSeverity
Returns
Type Description
$this

getResolution

Item issue resolution.

Returns
Type Description
int

hasResolution

clearResolution

setResolution

Item issue resolution.

Parameter
Name Description
var int
Returns
Type Description
$this