Google Shopping Merchant Issue Resolution V1 Client - Class AggregateProductStatus (0.1.0)

Reference documentation and code samples for the Google Shopping Merchant Issue Resolution V1 Client class AggregateProductStatus.

Aggregate product statuses for a given reporting context and country.

Generated from protobuf message google.shopping.merchant.issueresolution.v1.AggregateProductStatus

Namespace

Google \ Shopping \ Merchant \ IssueResolution \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ name string

Identifier. The name of the AggregateProductStatuses resource. Format: accounts/{account}/aggregateProductStatuses/{aggregateProductStatuses}

↳ reporting_context int

The reporting context of the aggregate product statuses.

↳ country string

The country of the aggregate product statuses. Represented as a CLDR territory code.

↳ stats AggregateProductStatus\Stats

Products statistics for the given reporting context and country.

↳ item_level_issues array<AggregateProductStatus\ItemLevelIssue>

The product issues that affect the given reporting context and country.

getName

Identifier. The name of the AggregateProductStatuses resource.

Format: accounts/{account}/aggregateProductStatuses/{aggregateProductStatuses}

Returns
Type Description
string

setName

Identifier. The name of the AggregateProductStatuses resource.

Format: accounts/{account}/aggregateProductStatuses/{aggregateProductStatuses}

Parameter
Name Description
var string
Returns
Type Description
$this

getReportingContext

The reporting context of the aggregate product statuses.

Returns
Type Description
int

setReportingContext

The reporting context of the aggregate product statuses.

Parameter
Name Description
var int
Returns
Type Description
$this

getCountry

The country of the aggregate product statuses. Represented as a CLDR territory code.

Returns
Type Description
string

setCountry

The country of the aggregate product statuses. Represented as a CLDR territory code.

Parameter
Name Description
var string
Returns
Type Description
$this

getStats

Products statistics for the given reporting context and country.

Returns
Type Description
AggregateProductStatus\Stats|null

hasStats

clearStats

setStats

Products statistics for the given reporting context and country.

Parameter
Name Description
var AggregateProductStatus\Stats
Returns
Type Description
$this

getItemLevelIssues

The product issues that affect the given reporting context and country.

Returns
Type Description
Google\Protobuf\Internal\RepeatedField

setItemLevelIssues

The product issues that affect the given reporting context and country.

Parameter
Name Description
var array<AggregateProductStatus\ItemLevelIssue>
Returns
Type Description
$this