Google Cloud Channel V1 Client - Class MarketingInfo (1.1.1)

Reference documentation and code samples for the Google Cloud Channel V1 Client class MarketingInfo.

Represents the marketing information for a Product, SKU or Offer.

Generated from protobuf message google.cloud.channel.v1.MarketingInfo

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ display_name string

Human readable name.

↳ description string

Human readable description. Description can contain HTML.

↳ default_logo Google\Cloud\Channel\V1\Media

Default logo.

getDisplayName

Human readable name.

Returns
TypeDescription
string

setDisplayName

Human readable name.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getDescription

Human readable description. Description can contain HTML.

Returns
TypeDescription
string

setDescription

Human readable description. Description can contain HTML.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getDefaultLogo

Default logo.

Returns
TypeDescription
Google\Cloud\Channel\V1\Media|null

hasDefaultLogo

clearDefaultLogo

setDefaultLogo

Default logo.

Parameter
NameDescription
var Google\Cloud\Channel\V1\Media
Returns
TypeDescription
$this