io.sphere.sdk.shippingmethods.queries.ShippingMethodQueryModel Maven / Gradle / Ivy
package io.sphere.sdk.shippingmethods.queries;
import io.sphere.sdk.queries.*;
import io.sphere.sdk.shippingmethods.ShippingMethod;
import io.sphere.sdk.taxcategories.TaxCategory;
import java.util.Optional;
public class ShippingMethodQueryModel extends DefaultModelQueryModelImpl {
static ShippingMethodQueryModel get() {
return new ShippingMethodQueryModel(Optional.>empty(), Optional.empty());
}
private ShippingMethodQueryModel(final Optional extends QueryModel> parent, final Optional pathSegment) {
super(parent, pathSegment);
}
public StringQuerySortingModel name() {
return new StringQuerySortingModel<>(Optional.of(this), "name");
}
public ReferenceQueryModel taxCategory() {
return new ReferenceQueryModel<>(Optional.of(this), "taxCategory");
}
public ZoneRateListQueryModel zoneRates() {
return new ZoneRateListQueryModel<>(Optional.of(this), "zoneRates");
}
public BooleanQueryModel isDefault() {
return new BooleanQueryModel<>(Optional.of(this), "isDefault");
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy