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

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

There is a newer version: 2.16.0
Show newest version
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