io.sphere.sdk.shippingmethods.queries.ZoneRateListQueryModel Maven / Gradle / Ivy
package io.sphere.sdk.shippingmethods.queries;
import io.sphere.sdk.queries.QueryModel;
import io.sphere.sdk.queries.QueryModelImpl;
import io.sphere.sdk.queries.ReferenceQueryModel;
import io.sphere.sdk.zones.Zone;
import java.util.Optional;
public class ZoneRateListQueryModel extends QueryModelImpl {
public ZoneRateListQueryModel(Optional extends QueryModel> parent, String pathSegment) {
super(parent, pathSegment);
}
public ReferenceQueryModel zone() {
return new ReferenceQueryModel<>(Optional.of(this), "zone");
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy