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

io.sphere.sdk.search.RangeFacetResult Maven / Gradle / Ivy

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

import com.fasterxml.jackson.annotation.JsonCreator;
import io.sphere.sdk.models.Base;

import java.util.List;

public class RangeFacetResult extends Base implements FacetResult {
    private final List ranges;

    @JsonCreator
    private RangeFacetResult(final List ranges) {
        this.ranges = ranges;
    }

    public List getRanges() {
        return ranges;
    }

    public static RangeFacetResult of(final List ranges) {
        return new RangeFacetResult(ranges);
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy