Reference documentation and code samples for the Google Shopping Merchant Promotions V1beta Client class PromotionStatus.
The status of the promotion.
Generated from protobuf message google.shopping.merchant.promotions.v1beta.PromotionStatus
Namespace
Google \ Shopping \ Merchant \ Promotions \ V1betaMethods
__construct
Constructor.
Parameters | |
---|---|
Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ destination_statuses |
array<Google\Shopping\Merchant\Promotions\V1beta\PromotionStatus\DestinationStatus>
Output only. The intended destinations for the promotion. |
↳ item_level_issues |
array<Google\Shopping\Merchant\Promotions\V1beta\PromotionStatus\ItemLevelIssue>
Output only. A list of issues associated with the promotion. |
↳ creation_date |
Google\Protobuf\Timestamp
Output only. Date on which the promotion has been created in ISO 8601 format: Date, time, and offset, for example |
↳ last_update_date |
Google\Protobuf\Timestamp
Output only. Date on which the promotion status has been last updated in ISO 8601 format: Date, time, and offset, for example |
getDestinationStatuses
Output only. The intended destinations for the promotion.
Returns | |
---|---|
Type | Description |
Google\Protobuf\Internal\RepeatedField |
setDestinationStatuses
Output only. The intended destinations for the promotion.
Parameter | |
---|---|
Name | Description |
var |
array<Google\Shopping\Merchant\Promotions\V1beta\PromotionStatus\DestinationStatus>
|
Returns | |
---|---|
Type | Description |
$this |
getItemLevelIssues
Output only. A list of issues associated with the promotion.
Returns | |
---|---|
Type | Description |
Google\Protobuf\Internal\RepeatedField |
setItemLevelIssues
Output only. A list of issues associated with the promotion.
Parameter | |
---|---|
Name | Description |
var |
array<Google\Shopping\Merchant\Promotions\V1beta\PromotionStatus\ItemLevelIssue>
|
Returns | |
---|---|
Type | Description |
$this |
getCreationDate
Output only. Date on which the promotion has been created
in ISO 8601 format: Date, time,
and offset, for example 2020-01-02T09:00:00+01:00
or
2020-01-02T09:00:00Z
Returns | |
---|---|
Type | Description |
Google\Protobuf\Timestamp|null |
hasCreationDate
clearCreationDate
setCreationDate
Output only. Date on which the promotion has been created
in ISO 8601 format: Date, time,
and offset, for example 2020-01-02T09:00:00+01:00
or
2020-01-02T09:00:00Z
Parameter | |
---|---|
Name | Description |
var |
Google\Protobuf\Timestamp
|
Returns | |
---|---|
Type | Description |
$this |
getLastUpdateDate
Output only. Date on which the promotion status has been last updated
in ISO 8601 format: Date, time,
and offset, for example 2020-01-02T09:00:00+01:00
or
2020-01-02T09:00:00Z
Returns | |
---|---|
Type | Description |
Google\Protobuf\Timestamp|null |
hasLastUpdateDate
clearLastUpdateDate
setLastUpdateDate
Output only. Date on which the promotion status has been last updated
in ISO 8601 format: Date, time,
and offset, for example 2020-01-02T09:00:00+01:00
or
2020-01-02T09:00:00Z
Parameter | |
---|---|
Name | Description |
var |
Google\Protobuf\Timestamp
|
Returns | |
---|---|
Type | Description |
$this |