com.commercetools.sunrise.myaccount.addressbook.removeaddress.RemoveAddressControllerAction Maven / Gradle / Ivy
The newest version!
package com.commercetools.sunrise.myaccount.addressbook.removeaddress;
import com.commercetools.sunrise.framework.controllers.ControllerAction;
import com.commercetools.sunrise.framework.viewmodels.content.addresses.AddressWithCustomer;
import com.google.inject.ImplementedBy;
import io.sphere.sdk.customers.Customer;
import java.util.concurrent.CompletionStage;
import java.util.function.BiFunction;
@ImplementedBy(DefaultRemoveAddressControllerAction.class)
@FunctionalInterface
public interface RemoveAddressControllerAction extends ControllerAction, BiFunction> {
@Override
CompletionStage apply(final AddressWithCustomer addressWithCustomer, final RemoveAddressFormData formData);
}