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

io.sphere.sdk.productdiscounts.queries.ProductDiscountByIdGet Maven / Gradle / Ivy

package io.sphere.sdk.productdiscounts.queries;

import io.sphere.sdk.expansion.ExpansionPath;
import io.sphere.sdk.models.Identifiable;
import io.sphere.sdk.productdiscounts.ProductDiscount;
import io.sphere.sdk.productdiscounts.expansion.ProductDiscountExpansionModel;
import io.sphere.sdk.queries.MetaModelGetDsl;

import java.util.List;
import java.util.function.Function;

public interface ProductDiscountByIdGet extends MetaModelGetDsl> {
    static ProductDiscountByIdGet of(final Identifiable productDiscount) {
        return of(productDiscount.getId());
    }

    static ProductDiscountByIdGet of(final String id) {
        return new ProductDiscountByIdGetImpl(id);
    }

    @Override
    List> expansionPaths();

    @Override
    ProductDiscountByIdGet plusExpansionPaths(final ExpansionPath expansionPath);

    @Override
    ProductDiscountByIdGet withExpansionPaths(final ExpansionPath expansionPath);

    @Override
    ProductDiscountByIdGet withExpansionPaths(final List> expansionPaths);
}





© 2015 - 2025 Weber Informatics LLC | Privacy Policy