Google Shopping Css V1 Client - Class ProductDetail (0.2.8)

Reference documentation and code samples for the Google Shopping Css V1 Client class ProductDetail.

The product details.

Generated from protobuf message google.shopping.css.v1.ProductDetail

Namespace

Google \ Shopping \ Css \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ section_name string

The section header used to group a set of product details.

↳ attribute_name string

The name of the product detail.

↳ attribute_value string

The value of the product detail.

getSectionName

The section header used to group a set of product details.

Returns
Type Description
string

setSectionName

The section header used to group a set of product details.

Parameter
Name Description
var string
Returns
Type Description
$this

getAttributeName

The name of the product detail.

Returns
Type Description
string

setAttributeName

The name of the product detail.

Parameter
Name Description
var string
Returns
Type Description
$this

getAttributeValue

The value of the product detail.

Returns
Type Description
string

setAttributeValue

The value of the product detail.

Parameter
Name Description
var string
Returns
Type Description
$this