io.sphere.sdk.cartdiscounts.DiscountedLineItemPrice Maven / Gradle / Ivy
package io.sphere.sdk.cartdiscounts;
import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
import javax.money.MonetaryAmount;
import java.util.List;
@JsonDeserialize(as = DiscountedLineItemPriceImpl.class)
public interface DiscountedLineItemPrice {
static DiscountedLineItemPrice of(final MonetaryAmount money, final List includedDiscounts) {
return new DiscountedLineItemPriceImpl(money, includedDiscounts);
}
List getIncludedDiscounts();
MonetaryAmount getValue();
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy