Reference documentation and code samples for the Google Shopping Merchant DataSources V1beta Client class Destination.
Destinations also known as Marketing methods selections.
Generated from protobuf message google.shopping.merchant.datasources.v1beta.PrimaryProductDataSource.Destination
Namespace
Google \ Shopping \ Merchant \ DataSources \ V1beta \ PrimaryProductDataSourceMethods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ destination |
int
Marketing methods (also known as destination) selections. |
↳ state |
int
The state of the destination. |
getDestination
Marketing methods (also known as destination) selections.
| Returns | |
|---|---|
| Type | Description |
int |
Enum of type DestinationEnum. |
setDestination
Marketing methods (also known as destination) selections.
| Parameter | |
|---|---|
| Name | Description |
var |
int
Enum of type DestinationEnum. |
| Returns | |
|---|---|
| Type | Description |
$this |
|
getState
The state of the destination.
| Returns | |
|---|---|
| Type | Description |
int |
Enum of type State. |
setState
The state of the destination.
| Parameter | |
|---|---|
| Name | Description |
var |
int
Enum of type State. |
| Returns | |
|---|---|
| Type | Description |
$this |
|