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

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
NameDescription
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
TypeDescription
Google\Shopping\Type\Destination|null

hasDestination

clearDestination

setDestination

Destination the issue applies to.

Parameter
NameDescription
var Google\Shopping\Type\Destination
Returns
TypeDescription
$this

getDisapprovedCountries

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

Returns
TypeDescription
Google\Protobuf\Internal\RepeatedField

setDisapprovedCountries

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

Parameter
NameDescription
var string[]
Returns
TypeDescription
$this

getDemotedCountries

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

Returns
TypeDescription
Google\Protobuf\Internal\RepeatedField

setDemotedCountries

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

Parameter
NameDescription
var string[]
Returns
TypeDescription
$this