Reference documentation and code samples for the Google Shopping Merchant Products V1 Client class ProductStatus.
The status of a product, data validation issues, that is, information about a product computed asynchronously.
Generated from protobuf message google.shopping.merchant.products.v1.ProductStatus
Namespace
Google \ Shopping \ Merchant \ Products \ V1Methods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ destination_statuses |
array<ProductStatus\DestinationStatus>
The intended destinations for the product. |
↳ item_level_issues |
array<ProductStatus\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<ProductStatus\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<ProductStatus\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 |
|