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

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

package io.sphere.sdk.carts.queries;

import io.sphere.sdk.cartdiscounts.CartDiscount;
import io.sphere.sdk.queries.MoneyQueryModel;
import io.sphere.sdk.queries.QueryModel;
import io.sphere.sdk.queries.QueryModelImpl;
import io.sphere.sdk.queries.ReferenceQueryModel;

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

    @Override
    public ReferenceQueryModel discount() {
        return referenceModel("discount");
    }

    @Override
    public MoneyQueryModel discountedAmount() {
        return moneyModel("discountedAmount");
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy