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

com.commercetools.sunrise.shoppingcart.changequantity.ChangeQuantityInCartControllerAction Maven / Gradle / Ivy

The newest version!
package com.commercetools.sunrise.shoppingcart.changequantity;

import com.commercetools.sunrise.framework.controllers.ControllerAction;
import com.google.inject.ImplementedBy;
import io.sphere.sdk.carts.Cart;

import java.util.concurrent.CompletionStage;
import java.util.function.BiFunction;

@ImplementedBy(DefaultChangeQuantityInCartControllerAction.class)
@FunctionalInterface
public interface ChangeQuantityInCartControllerAction extends ControllerAction, BiFunction> {

    @Override
    CompletionStage apply(final Cart cart, final ChangeQuantityInCartFormData formData);
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy