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

io.sphere.sdk.cartdiscounts.DiscountedLineItemPriceForQuantityImpl Maven / Gradle / Ivy

There is a newer version: 2.16.0
Show newest version
package io.sphere.sdk.cartdiscounts;

import com.fasterxml.jackson.annotation.JsonCreator;
import io.sphere.sdk.models.Base;

final class DiscountedLineItemPriceForQuantityImpl extends Base implements DiscountedLineItemPriceForQuantity {
    private final Long quantity;
    private final DiscountedLineItemPrice discountedPrice;

    @JsonCreator
    DiscountedLineItemPriceForQuantityImpl(final DiscountedLineItemPrice discountedPrice, final Long quantity) {
        this.discountedPrice = discountedPrice;
        this.quantity = quantity;
    }

    public DiscountedLineItemPrice getDiscountedPrice() {
        return discountedPrice;
    }

    public Long getQuantity() {
        return quantity;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy