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

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

The status for the specified destination.

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

Namespace

Google \ Shopping \ Merchant \ Promotions \ V1 \ PromotionStatus

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ reporting_context int

Output only. The name of the promotion destination.

↳ status int

Output only. The status for the specified destination.

getReportingContext

Output only. The name of the promotion destination.

Returns
Type Description
int Enum of type ReportingContextEnum.

setReportingContext

Output only. The name of the promotion destination.

Parameter
Name Description
var int

Enum of type ReportingContextEnum.

Returns
Type Description
$this

getStatus

Output only. The status for the specified destination.

Returns
Type Description
int Enum of type State.

setStatus

Output only. The status for the specified destination.

Parameter
Name Description
var int

Enum of type State.

Returns
Type Description
$this