All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.google.api.services.content.model.ProductCertification Maven / Gradle / Ivy

There is a newer version: v2.1-rev20240825-2.0.0
Show newest version
/*
 * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
 * in compliance with the License. You may obtain a copy of the License at
 *
 * http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software distributed under the License
 * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
 * or implied. See the License for the specific language governing permissions and limitations under
 * the License.
 */
/*
 * This code was generated by https://github.com/googleapis/google-api-java-client-services/
 * Modify at your own risk.
 */

package com.google.api.services.content.model;

/**
 * Product [certification](https://support.google.com/merchants/answer/13528839), introduced for EU
 * energy efficiency labeling compliance using the [EU
 * EPREL](https://eprel.ec.europa.eu/screen/home) database.
 *
 * 

This is the Java data model class that specifies how to parse/serialize into the JSON that is * transmitted over HTTP when working with the Content API for Shopping. For a detailed explanation * see: * https://developers.google.com/api-client-library/java/google-http-java-client/json *

* * @author Google, Inc. */ @SuppressWarnings("javadoc") public final class ProductCertification extends com.google.api.client.json.GenericJson { /** * The certification authority, for example "European_Commission". Maximum length is 2000 * characters. * The value may be {@code null}. */ @com.google.api.client.util.Key private java.lang.String certificationAuthority; /** * The certification code, for eaxample "123456". Maximum length is 2000 characters. * The value may be {@code null}. */ @com.google.api.client.util.Key private java.lang.String certificationCode; /** * The name of the certification, for example "EPREL". Maximum length is 2000 characters. * The value may be {@code null}. */ @com.google.api.client.util.Key private java.lang.String certificationName; /** * The certification value (also known as class, level or grade), for example "A+", "C", "gold". * Maximum length is 2000 characters. * The value may be {@code null}. */ @com.google.api.client.util.Key private java.lang.String certificationValue; /** * The certification authority, for example "European_Commission". Maximum length is 2000 * characters. * @return value or {@code null} for none */ public java.lang.String getCertificationAuthority() { return certificationAuthority; } /** * The certification authority, for example "European_Commission". Maximum length is 2000 * characters. * @param certificationAuthority certificationAuthority or {@code null} for none */ public ProductCertification setCertificationAuthority(java.lang.String certificationAuthority) { this.certificationAuthority = certificationAuthority; return this; } /** * The certification code, for eaxample "123456". Maximum length is 2000 characters. * @return value or {@code null} for none */ public java.lang.String getCertificationCode() { return certificationCode; } /** * The certification code, for eaxample "123456". Maximum length is 2000 characters. * @param certificationCode certificationCode or {@code null} for none */ public ProductCertification setCertificationCode(java.lang.String certificationCode) { this.certificationCode = certificationCode; return this; } /** * The name of the certification, for example "EPREL". Maximum length is 2000 characters. * @return value or {@code null} for none */ public java.lang.String getCertificationName() { return certificationName; } /** * The name of the certification, for example "EPREL". Maximum length is 2000 characters. * @param certificationName certificationName or {@code null} for none */ public ProductCertification setCertificationName(java.lang.String certificationName) { this.certificationName = certificationName; return this; } /** * The certification value (also known as class, level or grade), for example "A+", "C", "gold". * Maximum length is 2000 characters. * @return value or {@code null} for none */ public java.lang.String getCertificationValue() { return certificationValue; } /** * The certification value (also known as class, level or grade), for example "A+", "C", "gold". * Maximum length is 2000 characters. * @param certificationValue certificationValue or {@code null} for none */ public ProductCertification setCertificationValue(java.lang.String certificationValue) { this.certificationValue = certificationValue; return this; } @Override public ProductCertification set(String fieldName, Object value) { return (ProductCertification) super.set(fieldName, value); } @Override public ProductCertification clone() { return (ProductCertification) super.clone(); } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy