Google Shopping Merchant Promotions V1 Client - Class PromotionStatus (1.0.0)

Reference documentation and code samples for the Google Shopping Merchant Promotions V1 Client class PromotionStatus.

The status of the promotion.

Generated from protobuf message google.shopping.merchant.promotions.v1.PromotionStatus

Namespace

Google \ Shopping \ Merchant \ Promotions \ V1

Methods

__construct

Constructor.

Parameters
Name
Description
data
array

Optional. Data for populating the Message object.

↳ destination_statuses
array< PromotionStatus\DestinationStatus >

Output only. The intended destinations for the promotion.

↳ item_level_issues
array< 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 2020-01-02T09:00:00+01:00 or 2020-01-02T09:00:00Z

↳ 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 2020-01-02T09:00:00+01:00 or 2020-01-02T09:00:00Z

getDestinationStatuses

Output only. The intended destinations for the promotion.

Returns
Type
Description

setDestinationStatuses

Output only. The intended destinations for the promotion.

Parameter
Name
Description
Returns
Type
Description
$this

getItemLevelIssues

Output only. A list of issues associated with the promotion.

Returns
Type
Description

setItemLevelIssues

Output only. A list of issues associated with the promotion.

Parameter
Name
Description
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

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
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

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
Returns
Type
Description
$this
Design a Mobile Site
View Site in Mobile | Classic
Share by: