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

io.sphere.sdk.productdiscounts.queries.ProductDiscountQueryModel Maven / Gradle / Ivy

There is a newer version: 1.0.0-M26
Show newest version
package io.sphere.sdk.productdiscounts.queries;

import io.sphere.sdk.productdiscounts.ProductDiscount;
import io.sphere.sdk.queries.BooleanQueryModel;
import io.sphere.sdk.queries.ResourceQueryModelImpl;
import io.sphere.sdk.queries.QueryModel;

public class ProductDiscountQueryModel extends ResourceQueryModelImpl {
    private ProductDiscountQueryModel(final QueryModel parent, final String pathSegment) {
        super(parent, pathSegment);
    }

    public static ProductDiscountQueryModel of() {
        return new ProductDiscountQueryModel(null, null);
    }

    public BooleanQueryModel isActive() {
        return booleanModel("isActive");
    }

    public BooleanQueryModel active() {
        return isActive();
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy