io.sphere.sdk.orders.queries.OrderByIdGet Maven / Gradle / Ivy
package io.sphere.sdk.orders.queries;
import io.sphere.sdk.models.Identifiable;
import io.sphere.sdk.orders.Order;
import io.sphere.sdk.orders.expansion.OrderExpansionModel;
import io.sphere.sdk.expansion.ExpansionPath;
import io.sphere.sdk.queries.MetaModelGetDsl;
import java.util.List;
import java.util.function.Function;
/**
Gets an order by ID.
{@include.example io.sphere.sdk.orders.commands.OrderFromCartCreateCommandTest#execution()}
*/
public interface OrderByIdGet extends MetaModelGetDsl> {
static OrderByIdGet of(final Identifiable order) {
return of(order.getId());
}
static OrderByIdGet of(final String id) {
return new OrderByIdGetImpl(id);
}
@Override
OrderByIdGet plusExpansionPaths(final ExpansionPath expansionPath);
@Override
List> expansionPaths();
@Override
OrderByIdGet withExpansionPaths(final ExpansionPath expansionPath);
@Override
OrderByIdGet withExpansionPaths(final List> expansionPaths);
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy