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

io.sphere.sdk.carts.queries.DiscountCodeInfoCollectionQueryModelImpl Maven / Gradle / Ivy

There is a newer version: 2.16.0
Show newest version
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