Reference documentation and code samples for the Google Shopping Merchant Products V1beta Client class Certification.
Product certification, initially introduced for EU energy efficiency labeling compliance using the EU EPREL database.
Generated from protobuf message google.shopping.merchant.products.v1beta.Certification
Namespace
Google \ Shopping \ Merchant \ Products \ V1betaMethods
__construct
Constructor.
Parameters | |
---|---|
Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ certification_authority |
string
The certification authority, for example "European_Commission". Maximum length is 2000 characters. |
↳ certification_name |
string
The name of the certification, for example "EPREL". Maximum length is 2000 characters. |
↳ certification_code |
string
The certification code. Maximum length is 2000 characters. |
↳ certification_value |
string
The certification value (also known as class, level or grade), for example "A+", "C", "gold". Maximum length is 2000 characters. |
getCertificationAuthority
The certification authority, for example "European_Commission".
Maximum length is 2000 characters.
Returns | |
---|---|
Type | Description |
string |
hasCertificationAuthority
clearCertificationAuthority
setCertificationAuthority
The certification authority, for example "European_Commission".
Maximum length is 2000 characters.
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |
getCertificationName
The name of the certification, for example "EPREL".
Maximum length is 2000 characters.
Returns | |
---|---|
Type | Description |
string |
hasCertificationName
clearCertificationName
setCertificationName
The name of the certification, for example "EPREL".
Maximum length is 2000 characters.
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |
getCertificationCode
The certification code.
Maximum length is 2000 characters.
Returns | |
---|---|
Type | Description |
string |
hasCertificationCode
clearCertificationCode
setCertificationCode
The certification code.
Maximum length is 2000 characters.
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |
getCertificationValue
The certification value (also known as class, level or grade), for example "A+", "C", "gold".
Maximum length is 2000 characters.
Returns | |
---|---|
Type | Description |
string |
hasCertificationValue
clearCertificationValue
setCertificationValue
The certification value (also known as class, level or grade), for example "A+", "C", "gold".
Maximum length is 2000 characters.
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |