Google Shopping Merchant DataSources V1beta Client - Class Destination (0.5.0)

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

Methods

__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

setDestination

Marketing methods (also known as destination) selections.

Parameter
Name Description
var int
Returns
Type Description
$this

getState

The state of the destination.

Returns
Type Description
int

setState

The state of the destination.

Parameter
Name Description
var int
Returns
Type Description
$this