io.sphere.sdk.productdiscounts.queries.ProductDiscountQueryModel Maven / Gradle / Ivy
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