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

io.sphere.sdk.reviews.queries.ReviewByIdGet Maven / Gradle / Ivy

There is a newer version: 2.16.0
Show newest version
package io.sphere.sdk.reviews.queries;

import io.sphere.sdk.expansion.ExpansionPath;
import io.sphere.sdk.models.Identifiable;
import io.sphere.sdk.queries.MetaModelGetDsl;
import io.sphere.sdk.reviews.Review;
import io.sphere.sdk.reviews.expansion.ReviewExpansionModel;

import java.util.List;

/**
 * Retrieves a review by a known ID.
 *
 * {@include.example io.sphere.sdk.reviews.queries.ReviewByIdGetIntegrationTest#execution()}
 */
public interface ReviewByIdGet extends MetaModelGetDsl> {
    static ReviewByIdGet of(final Identifiable productType) {
        return of(productType.getId());
    }

    static ReviewByIdGet of(final String id) {
        return new ReviewByIdGetImpl(id);
    }

    @Override
    List> expansionPaths();

    @Override
    ReviewByIdGet plusExpansionPaths(final ExpansionPath expansionPath);

    @Override
    ReviewByIdGet withExpansionPaths(final ExpansionPath expansionPath);

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




© 2015 - 2025 Weber Informatics LLC | Privacy Policy