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

io.sphere.sdk.cartdiscounts.DiscountedLineItemPriceImpl 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;

import javax.money.MonetaryAmount;
import java.util.List;

final class DiscountedLineItemPriceImpl extends Base implements DiscountedLineItemPrice {
    private final MonetaryAmount value;
    private final List includedDiscounts;

    @JsonCreator
    DiscountedLineItemPriceImpl(final MonetaryAmount value, final List includedDiscounts) {
        this.includedDiscounts = includedDiscounts;
        this.value = value;
    }

    public List getIncludedDiscounts() {
        return includedDiscounts;
    }

    public MonetaryAmount getValue() {
        return value;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy