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

com.adobe.commerce.cif.model.product.ProductVariant Maven / Gradle / Ivy

/*******************************************************************************
 *
 *    Copyright 2018 Adobe. All rights reserved.
 *    This file is licensed to you 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 REPRESENTATIONS
 *    OF ANY KIND, either express or implied. See the License for the specific language
 *    governing permissions and limitations under the License.
 *
 ******************************************************************************/

package com.adobe.commerce.cif.model.product;

import io.swagger.annotations.ApiModelProperty;

public class ProductVariant extends AbstractProduct {

    @ApiModelProperty(value = "The unique SKU of the product variant assigned by the vendor or manufacturer.", required = true)
    protected String sku;

    @ApiModelProperty(value = "Indicates if the product is available or not in the inventory.", required = true)
    protected Boolean available;

    public String getSku() {
        return sku;
    }

    public void setSku(String sku) {
        this.sku = sku;
    }

    public Boolean getAvailable() {
        return available;
    }

    public void setAvailable(Boolean available) {
        this.available = available;
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy