Google Shopping Css V1 Client - Class DestinationStatus (0.3.0)

Reference documentation and code samples for the Google Shopping Css V1 Client class DestinationStatus.

The destination status of the product status.

Generated from protobuf message google.shopping.css.v1.CssProductStatus.DestinationStatus

Namespace

Google \ Shopping \ Css \ V1 \ CssProductStatus

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ destination string

The name of the destination

↳ approved_countries array

List of country codes (ISO 3166-1 alpha-2) where the aggregate offer is approved.

↳ pending_countries array

List of country codes (ISO 3166-1 alpha-2) where the aggregate offer is pending approval.

↳ disapproved_countries array

List of country codes (ISO 3166-1 alpha-2) where the aggregate offer is disapproved.

getDestination

The name of the destination

Returns
Type Description
string

setDestination

The name of the destination

Parameter
Name Description
var string
Returns
Type Description
$this

getApprovedCountries

List of country codes (ISO 3166-1 alpha-2) where the aggregate offer is approved.

Returns
Type Description
Google\Protobuf\Internal\RepeatedField

setApprovedCountries

List of country codes (ISO 3166-1 alpha-2) where the aggregate offer is approved.

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

getPendingCountries

List of country codes (ISO 3166-1 alpha-2) where the aggregate offer is pending approval.

Returns
Type Description
Google\Protobuf\Internal\RepeatedField

setPendingCountries

List of country codes (ISO 3166-1 alpha-2) where the aggregate offer is pending approval.

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

getDisapprovedCountries

List of country codes (ISO 3166-1 alpha-2) where the aggregate offer is disapproved.

Returns
Type Description
Google\Protobuf\Internal\RepeatedField

setDisapprovedCountries

List of country codes (ISO 3166-1 alpha-2) where the aggregate offer is disapproved.

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