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

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.*;

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();
    }

    public LocalizedStringQuerySortingModel name() {
        return localizedStringQuerySortingModel("name");
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy