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

io.sphere.sdk.orders.ProductVariantImportDraft Maven / Gradle / Ivy

package io.sphere.sdk.orders;

import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
import io.sphere.sdk.products.attributes.AttributeImportDraft;
import io.sphere.sdk.products.Image;
import io.sphere.sdk.products.Price;

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

/**
 *
 * @see ProductVariantImportDraftBuilder
 */
@JsonDeserialize(as = ProductVariantImportDraftImpl.class)
public interface ProductVariantImportDraft {
    @Nullable
    List getAttributes();

    @Nullable
    Integer getId();

    @Nullable
    List getImages();

    @Nullable
    List getPrices();

    @Nullable
    String getSku();

    /**
     * Field is not part of the SPHERE.IO API, it is used to initialize {@link LineItemImportDraftBuilder} correctly.
     * @return the product ID
     */
    @Nullable
    String getProductId();
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy