io.sphere.sdk.shippingmethods.queries.ShippingMethodQueryModelImpl Maven / Gradle / Ivy
The newest version!
/*
This class has been generated by class io.sphere.sdk.annotations.processors.HasQueryModelImplementationAnnotationProcessor
induced by the annotation io.sphere.sdk.annotations.HasQueryModelImplementation.
in the source class io.sphere.sdk.shippingmethods.queries.ShippingMethodQueryModel.
*/
package io.sphere.sdk.shippingmethods.queries;
import javax.annotation.Nullable;
import io.sphere.sdk.models.*;
import java.util.*;
import io.sphere.sdk.utils.*;
import com.fasterxml.jackson.annotation.*;
import io.sphere.sdk.queries.*;
import io.sphere.sdk.shippingmethods.*;
import io.sphere.sdk.types.queries.CustomResourceQueryModelImpl;
final class ShippingMethodQueryModelImpl extends CustomResourceQueryModelImpl implements ShippingMethodQueryModel {
ShippingMethodQueryModelImpl(final QueryModel parent, final String pathSegment) {
super(parent, pathSegment);
}
public final io.sphere.sdk.queries.StringQuerySortingModel key() {
return stringQuerySortingModel("key");
}
public final io.sphere.sdk.queries.StringQuerySortingModel name() {
return stringQuerySortingModel("name");
}
public final io.sphere.sdk.queries.ReferenceQueryModel taxCategory() {
return referenceQueryModel("taxCategory");
}
public final io.sphere.sdk.shippingmethods.queries.ZoneRateCollectionQueryModel zoneRates() {
final String fieldName = "zoneRates";
return new ZoneRateCollectionQueryModelImpl<>(this, fieldName);
}
public final io.sphere.sdk.queries.BooleanQueryModel isDefault() {
return booleanQueryModel("isDefault");
}
}