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

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

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

final class ShippingMethodQueryModelImpl extends ResourceQueryModelImpl implements ShippingMethodQueryModel {

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

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

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

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

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




© 2015 - 2025 Weber Informatics LLC | Privacy Policy