io.sphere.sdk.cartdiscounts.DiscountedLineItemPriceImpl Maven / Gradle / Ivy
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