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

io.sphere.sdk.carts.queries.LineItemCollectionQueryModel Maven / Gradle / Ivy

The newest version!
package io.sphere.sdk.carts.queries;

import io.sphere.sdk.channels.Channel;
import io.sphere.sdk.products.queries.PriceQueryModel;
import io.sphere.sdk.products.queries.ProductVariantQueryModel;
import io.sphere.sdk.queries.*;
import io.sphere.sdk.types.queries.WithCustomQueryModel;

/**
 * Query predicate build for line items.
 * @param  query context
 */
public interface LineItemCollectionQueryModel extends LineItemLikeCollectionQueryModel, WithCustomQueryModel {
    ReferenceOptionalQueryModel supplyChannel();

    ReferenceOptionalQueryModel distributionChannel();

    ProductVariantQueryModel variant();

    PriceQueryModel price();

    @Override
    DiscountedLineItemPriceForQuantityQueryModel discountedPricePerQuantity();

    @Override
    StringQueryModel id();

    StringQueryModel productId();

    @Override
    QueryPredicate isEmpty();

    @Override
    QueryPredicate isNotEmpty();

    @Override
    LocalizedStringQueryModel name();

    @Override
    LongQuerySortingModel quantity();

    @Override
    ItemStateCollectionQueryModel state();
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy