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

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

There is a newer version: 2.16.0
Show newest version
package io.sphere.sdk.cartdiscounts;

/**
 * The predicate offers a flexible way to define whether the discount can be applied to a cart.
 *
 * @deprecated Use {@link CartPredicate} instead.
 */
@Deprecated
public interface CartDiscountPredicate extends CartPredicate {
    String toSphereCartPredicate();

    static CartDiscountPredicate of(final String predicate) {
        return new CartDiscountPredicateImpl(predicate);
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy