Google Cloud Channel V1 Client - Class MarketingInfo (2.1.2)

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

Namespace

Google \ Cloud \ Channel \ V1

Methods

__construct

Constructor.

Parameters
Name Description
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 Media

Default logo.

getDisplayName

Human readable name.

Returns
Type Description
string

setDisplayName

Human readable name.

Parameter
Name Description
var string
Returns
Type Description
$this

getDescription

Human readable description. Description can contain HTML.

Returns
Type Description
string

setDescription

Human readable description. Description can contain HTML.

Parameter
Name Description
var string
Returns
Type Description
$this

getDefaultLogo

Default logo.

Returns
Type Description
Media|null

hasDefaultLogo

clearDefaultLogo

setDefaultLogo

Default logo.

Parameter
Name Description
var Media
Returns
Type Description
$this