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-M12
Show newest version
package io.sphere.sdk.products;

import java.util.Optional;
import io.sphere.sdk.models.Base;
import io.sphere.sdk.attributes.Attribute;

import java.util.List;

class ProductVariantDraftImpl extends Base implements ProductVariantDraft {
    private final Optional sku;
    private final List prices;
    private final List attributes;

    public ProductVariantDraftImpl(final Optional sku, final List prices, final List attributes) {
        this.sku = sku;
        this.prices = prices;
        this.attributes = attributes;
    }

    @Override
    public Optional getSku() {
        return sku;
    }

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

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




© 2015 - 2024 Weber Informatics LLC | Privacy Policy