io.sphere.sdk.carts.queries.TaxedPriceOptionalQueryModelImpl Maven / Gradle / Ivy
package io.sphere.sdk.carts.queries;
import io.sphere.sdk.queries.MoneyQueryModel;
import io.sphere.sdk.queries.QueryModel;
import io.sphere.sdk.queries.QueryModelImpl;
import io.sphere.sdk.queries.QueryPredicate;
final class TaxedPriceOptionalQueryModelImpl extends QueryModelImpl implements TaxedPriceOptionalQueryModel {
public TaxedPriceOptionalQueryModelImpl(final QueryModel parent, final String pathSegment) {
super(parent, pathSegment);
}
@Override
public QueryPredicate isNotPresent() {
return isNotPresentPredicate();
}
@Override
public QueryPredicate isPresent() {
return isPresentPredicate();
}
@Override
public MoneyQueryModel totalNet() {
return moneyModel("totalNet");
}
@Override
public MoneyQueryModel totalGross() {
return moneyModel("totalGross");
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy