Google Shopping Css V1 Client - Class CssProductStatus (0.3.0)

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

The status of the Css Product, data validation issues, that is, information about the Css Product computed asynchronously.

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

Namespace

Google \ Shopping \ Css \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ destination_statuses array<Google\Shopping\Css\V1\CssProductStatus\DestinationStatus>

The intended destinations for the product.

↳ item_level_issues array<Google\Shopping\Css\V1\CssProductStatus\ItemLevelIssue>

A list of all issues associated with the product.

↳ creation_date Google\Protobuf\Timestamp

Date on which the item has been created, in ISO 8601 format.

↳ last_update_date Google\Protobuf\Timestamp

Date on which the item has been last updated, in ISO 8601 format.

↳ google_expiration_date Google\Protobuf\Timestamp

Date on which the item expires, in ISO 8601 format.

getDestinationStatuses

The intended destinations for the product.

Returns
Type Description
Google\Protobuf\Internal\RepeatedField

setDestinationStatuses

The intended destinations for the product.

Parameter
Name Description
var array<Google\Shopping\Css\V1\CssProductStatus\DestinationStatus>
Returns
Type Description
$this

getItemLevelIssues

A list of all issues associated with the product.

Returns
Type Description
Google\Protobuf\Internal\RepeatedField

setItemLevelIssues

A list of all issues associated with the product.

Parameter
Name Description
var array<Google\Shopping\Css\V1\CssProductStatus\ItemLevelIssue>
Returns
Type Description
$this

getCreationDate

Date on which the item has been created, in ISO 8601 format.

Returns
Type Description
Google\Protobuf\Timestamp|null

hasCreationDate

clearCreationDate

setCreationDate

Date on which the item has been created, in ISO 8601 format.

Parameter
Name Description
var Google\Protobuf\Timestamp
Returns
Type Description
$this

getLastUpdateDate

Date on which the item has been last updated, in ISO 8601 format.

Returns
Type Description
Google\Protobuf\Timestamp|null

hasLastUpdateDate

clearLastUpdateDate

setLastUpdateDate

Date on which the item has been last updated, in ISO 8601 format.

Parameter
Name Description
var Google\Protobuf\Timestamp
Returns
Type Description
$this

getGoogleExpirationDate

Date on which the item expires, in ISO 8601 format.

Returns
Type Description
Google\Protobuf\Timestamp|null

hasGoogleExpirationDate

clearGoogleExpirationDate

setGoogleExpirationDate

Date on which the item expires, in ISO 8601 format.

Parameter
Name Description
var Google\Protobuf\Timestamp
Returns
Type Description
$this