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

io.sphere.sdk.products.ProductVariantDraftImpl Maven / Gradle / Ivy

There is a newer version: 1.0.0-M26
Show newest version
package io.sphere.sdk.products;

import io.sphere.sdk.products.attributes.AttributeDraft;
import io.sphere.sdk.models.Base;

import javax.annotation.Nullable;
import java.util.List;

class ProductVariantDraftImpl extends Base implements ProductVariantDraft {
    @Nullable
    private final String sku;
    private final List prices;
    private final List attributes;
    private final List images;

    public ProductVariantDraftImpl(@Nullable final String sku, final List prices, final List attributes, final List images) {
        this.sku = sku;
        this.prices = prices;
        this.attributes = attributes;
        this.images = images;
    }

    @Override
    @Nullable
    public String getSku() {
        return sku;
    }

    @Override
    public List getPrices() {
        return prices;
    }

    @Override
    public List getAttributes() {
        return attributes;
    }

    @Override
    public List getImages() {
        return images;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy