Google Shopping Css V1 Client - Class DestinationStatus (0.1.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
NameDescription
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
TypeDescription
string

setDestination

The name of the destination

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getApprovedCountries

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

Returns
TypeDescription
Google\Protobuf\Internal\RepeatedField

setApprovedCountries

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

Parameter
NameDescription
var string[]
Returns
TypeDescription
$this

getPendingCountries

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

Returns
TypeDescription
Google\Protobuf\Internal\RepeatedField

setPendingCountries

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

Parameter
NameDescription
var string[]
Returns
TypeDescription
$this

getDisapprovedCountries

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

Returns
TypeDescription
Google\Protobuf\Internal\RepeatedField

setDisapprovedCountries

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

Parameter
NameDescription
var string[]
Returns
TypeDescription
$this