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

io.sphere.sdk.shippingmethods.queries.ShippingMethodQueryModel Maven / Gradle / Ivy

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

import io.sphere.sdk.queries.*;
import io.sphere.sdk.shippingmethods.ShippingMethod;
import io.sphere.sdk.taxcategories.TaxCategory;

public class ShippingMethodQueryModel extends ResourceQueryModelImpl {
    public static ShippingMethodQueryModel of() {
        return new ShippingMethodQueryModel(null, null);
    }

    private ShippingMethodQueryModel(final QueryModel parent, final String pathSegment) {
        super(parent, pathSegment);
    }

    public StringQuerySortingModel name() {
        return stringModel("name");
    }

    public ReferenceQueryModel taxCategory() {
        return referenceModel("taxCategory");
    }

    public ZoneRateCollectionQueryModel zoneRates() {
        return new ZoneRateCollectionQueryModel<>(this, "zoneRates");
    }

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




© 2015 - 2024 Weber Informatics LLC | Privacy Policy