io.sphere.sdk.carts.queries.DiscountCodeInfoCollectionQueryModelImpl Maven / Gradle / Ivy
package io.sphere.sdk.carts.queries;
import io.sphere.sdk.discountcodes.DiscountCode;
import io.sphere.sdk.queries.QueryModel;
import io.sphere.sdk.queries.QueryModelImpl;
import io.sphere.sdk.queries.QueryPredicate;
import io.sphere.sdk.queries.ReferenceQueryModel;
final class DiscountCodeInfoCollectionQueryModelImpl extends QueryModelImpl implements DiscountCodeInfoCollectionQueryModel {
public DiscountCodeInfoCollectionQueryModelImpl(final QueryModel parent, final String pathSegment) {
super(parent, pathSegment);
}
@Override
public ReferenceQueryModel discountCode() {
return referenceModel("discountCode");
}
@Override
public QueryPredicate isEmpty() {
return isEmptyCollectionQueryPredicate();
}
@Override
public QueryPredicate isNotEmpty() {
return isNotEmptyCollectionQueryPredicate();
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy