Google Shopping Merchant Reports V1beta Client - Class IssueSeverityPerDestination (0.7.3)

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

Issue severity per destination.

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

Namespace

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

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ destination Google\Shopping\Type\Destination

Destination the issue applies to.

↳ disapproved_countries array

List of disapproved countries in the destination, represented in ISO 3166 format.

↳ demoted_countries array

List of demoted countries in the destination, represented in ISO 3166 format.

getDestination

Destination the issue applies to.

Returns
Type Description
Google\Shopping\Type\Destination|null

hasDestination

clearDestination

setDestination

Destination the issue applies to.

Parameter
Name Description
var Google\Shopping\Type\Destination
Returns
Type Description
$this

getDisapprovedCountries

List of disapproved countries in the destination, represented in ISO 3166 format.

Returns
Type Description
Google\Protobuf\Internal\RepeatedField

setDisapprovedCountries

List of disapproved countries in the destination, represented in ISO 3166 format.

Parameter
Name Description
var string[]
Returns
Type Description
$this

getDemotedCountries

List of demoted countries in the destination, represented in ISO 3166 format.

Returns
Type Description
Google\Protobuf\Internal\RepeatedField

setDemotedCountries

List of demoted countries in the destination, represented in ISO 3166 format.

Parameter
Name Description
var string[]
Returns
Type Description
$this