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

io.sphere.sdk.search.model.MoneyFacetSearchModel Maven / Gradle / Ivy

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

import javax.annotation.Nullable;
import javax.money.CurrencyUnit;

public class MoneyFacetSearchModel extends SearchModelImpl {

    MoneyFacetSearchModel(@Nullable final SearchModel parent, @Nullable final String pathSegment) {
        super(parent, pathSegment);
    }

    public RangeFacetSearchModel centAmount() {
        return new MoneyCentAmountSearchModel<>(this, "centAmount").faceted();
    }

    public TermFacetSearchModel currency() {
        return new CurrencySearchModel<>(this, "currencyCode").faceted();
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy