io.sphere.sdk.cartdiscounts.DiscountedLineItemPriceForQuantity Maven / Gradle / Ivy
package io.sphere.sdk.cartdiscounts;
import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
@JsonDeserialize(as = DiscountedLineItemPriceForQuantityImpl.class)
public interface DiscountedLineItemPriceForQuantity {
static DiscountedLineItemPriceForQuantity of(final DiscountedLineItemPrice discountedLineItemPrice, final long quantity) {
return new DiscountedLineItemPriceForQuantityImpl(discountedLineItemPrice, quantity);
}
DiscountedLineItemPrice getDiscountedPrice();
Long getQuantity();
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy