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

io.sphere.sdk.cartdiscounts.queries.CartDiscountByIdGet Maven / Gradle / Ivy

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

import io.sphere.sdk.cartdiscounts.CartDiscount;
import io.sphere.sdk.cartdiscounts.expansion.CartDiscountExpansionModel;
import io.sphere.sdk.models.Identifiable;
import io.sphere.sdk.expansion.ExpansionPath;
import io.sphere.sdk.queries.MetaModelGetDsl;

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

/**
 * {@include.example io.sphere.sdk.cartdiscounts.queries.CartDiscountByIdGetTest#execution()}
 */
public interface CartDiscountByIdGet extends MetaModelGetDsl> {
    static CartDiscountByIdGet of(final Identifiable cartDiscount) {
        return of(cartDiscount.getId());
    }

    static CartDiscountByIdGet of(final String id) {
        return new CartDiscountByIdGetImpl(id);
    }

    @Override
    CartDiscountByIdGet plusExpansionPaths(final Function, ExpansionPath> m);

    @Override
    CartDiscountByIdGet withExpansionPaths(final Function, ExpansionPath> m);

    @Override
    List> expansionPaths();

    @Override
    CartDiscountByIdGet plusExpansionPaths(final ExpansionPath expansionPath);

    @Override
    CartDiscountByIdGet withExpansionPaths(final ExpansionPath expansionPath);

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




© 2015 - 2024 Weber Informatics LLC | Privacy Policy