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

io.sphere.sdk.carts.queries.DiscountedLineItemPriceQueryModelImpl Maven / Gradle / Ivy

There is a newer version: 2.16.0
Show newest version
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