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

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

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

import io.sphere.sdk.queries.LongQueryModel;
import io.sphere.sdk.queries.QueryModel;
import io.sphere.sdk.queries.QueryModelImpl;

final class DiscountedLineItemPriceForQuantityQueryModelImpl extends QueryModelImpl implements DiscountedLineItemPriceForQuantityQueryModel {
    public DiscountedLineItemPriceForQuantityQueryModelImpl(final QueryModel parent, final String pathSegment) {
        super(parent, pathSegment);
    }

    @Override
    public DiscountedLineItemPriceQueryModel discountedPrice() {
        return new DiscountedLineItemPriceQueryModelImpl<>(this, "discountedPrice");
    }

    @Override
    public LongQueryModel quantity() {
        return longModel("quantity");
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy