Google Shopping Merchant Promotions V1beta Client - Class DestinationStatus (0.1.1)

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

The status for the specified destination.

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

Namespace

Google \ Shopping \ Merchant \ Promotions \ V1beta \ 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

setReportingContext

Output only. The name of the promotion destination.

Parameter
Name Description
var int
Returns
Type Description
$this

getStatus

Output only. The status for the specified destination.

Returns
Type Description
int

setStatus

Output only. The status for the specified destination.

Parameter
Name Description
var int
Returns
Type Description
$this