io.sphere.sdk.inventory.queries.InventoryEntryQueryModelImpl Maven / Gradle / Ivy
package io.sphere.sdk.inventory.queries;
import io.sphere.sdk.channels.Channel;
import io.sphere.sdk.inventory.InventoryEntry;
import io.sphere.sdk.queries.*;
final class InventoryEntryQueryModelImpl extends ResourceQueryModelImpl implements InventoryEntryQueryModel {
private InventoryEntryQueryModelImpl(final QueryModel parent, final String pathSegment) {
super(parent, pathSegment);
}
public static InventoryEntryQueryModel of() {
return new InventoryEntryQueryModelImpl(null, null);
}
@Override
public StringQuerySortingModel sku() {
return stringModel("sku");
}
@Override
public ReferenceQueryModel supplyChannel() {
return referenceModel("supplyChannel");
}
@Override
public LongQuerySortingModel quantityOnStock() {
return longModel("quantityOnStock");
}
@Override
public LongQuerySortingModel availableQuantity() {
return longModel("availableQuantity");
}
@Override
public IntegerQuerySortingModel restockableInDays() {
return integerModel("restockableInDays");
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy