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 \ PromotionStatusMethods
__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 |
|