Google Shopping Css V1 Client - Class ProductDetail (0.1.0)

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
NameDescription
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
TypeDescription
string

setSectionName

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

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getAttributeName

The name of the product detail.

Returns
TypeDescription
string

setAttributeName

The name of the product detail.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getAttributeValue

The value of the product detail.

Returns
TypeDescription
string

setAttributeValue

The value of the product detail.

Parameter
NameDescription
var string
Returns
TypeDescription
$this