Google Shopping Merchant Products V1 Client - Class ProductCertification (1.0.0)

Reference documentation and code samples for the Google Shopping Merchant Products V1 Client class ProductCertification.

Product certification, initially introduced for EU energy efficiency labeling compliance using the EU EPREL database.

Generated from protobuf message google.shopping.merchant.products.v1.ProductCertification

Namespace

Google \ Shopping \ Merchant \ Products \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ certification_authority int

The certification authority.

↳ certification_name int

The name of the certification.

↳ 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.

Returns
Type Description
int

hasCertificationAuthority

clearCertificationAuthority

setCertificationAuthority

The certification authority.

Parameter
Name Description
var int
Returns
Type Description
$this

getCertificationName

The name of the certification.

Returns
Type Description
int

hasCertificationName

clearCertificationName

setCertificationName

The name of the certification.

Parameter
Name Description
var int
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