io.sphere.sdk.carts.queries.DiscountedLineItemPriceQueryModelImpl 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 DiscountedLineItemPriceQueryModelImpl extends QueryModelImpl implements DiscountedLineItemPriceQueryModel {
public DiscountedLineItemPriceQueryModelImpl(final QueryModel parent, final String pathSegment) {
super(parent, pathSegment);
}
@Override
public DiscountedLineItemPortionQueryModel includedDiscounts() {
return new DiscountedLineItemPortionQueryModelImpl<>(this, "includedDiscounts");
}
@Override
public MoneyQueryModel value() {
return moneyModel("value");
}
@Override
public QueryPredicate isNotPresent() {
return isNotPresentPredicate();
}
@Override
public QueryPredicate isPresent() {
return isPresentPredicate();
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy