Reference documentation and code samples for the Google Shopping Merchant Products V1beta Client class ProductDetail.
The product details.
Generated from protobuf message google.shopping.merchant.products.v1beta.ProductDetail
Namespace
Google \ Shopping \ Merchant \ Products \ V1betaMethods
__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 |