Google Shopping Merchant Products V1beta Client - Class DestinationStatus (0.1.0)

Reference documentation and code samples for the Google Shopping Merchant Products V1beta Client class DestinationStatus.

The destination status of the product status.

Generated from protobuf message google.shopping.merchant.products.v1beta.ProductStatus.DestinationStatus

Namespace

Google \ Shopping \ Merchant \ Products \ V1beta \ ProductStatus

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ reporting_context int

The name of the reporting context.

↳ approved_countries array

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

↳ pending_countries array

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

↳ disapproved_countries array

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

getReportingContext

The name of the reporting context.

Returns
Type Description
int

setReportingContext

The name of the reporting context.

Parameter
Name Description
var int
Returns
Type Description
$this

getApprovedCountries

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

Returns
Type Description
Google\Protobuf\Internal\RepeatedField

setApprovedCountries

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

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

getPendingCountries

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

Returns
Type Description
Google\Protobuf\Internal\RepeatedField

setPendingCountries

List of country codes (ISO 3166-1 alpha-2) where the 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 offer is disapproved.

Returns
Type Description
Google\Protobuf\Internal\RepeatedField

setDisapprovedCountries

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

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