io.sphere.sdk.carts.queries.ItemStateCollectionQueryModelImpl Maven / Gradle / Ivy
package io.sphere.sdk.carts.queries;
import io.sphere.sdk.queries.LongQueryModel;
import io.sphere.sdk.queries.QueryModel;
import io.sphere.sdk.queries.QueryModelImpl;
import io.sphere.sdk.queries.ReferenceQueryModel;
import io.sphere.sdk.states.State;
final class ItemStateCollectionQueryModelImpl extends QueryModelImpl implements ItemStateCollectionQueryModel {
public ItemStateCollectionQueryModelImpl(final QueryModel parent, final String pathSegment) {
super(parent, pathSegment);
}
@Override
public ReferenceQueryModel state() {
return referenceModel("state");
}
@Override
public LongQueryModel quantity() {
return longModel("quantity");
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy