com.commercetools.sunrise.myaccount.addressbook.addaddress.AddAddressControllerAction Maven / Gradle / Ivy
package com.commercetools.sunrise.myaccount.addressbook.addaddress;
import com.commercetools.sunrise.framework.controllers.ControllerAction;
import com.commercetools.sunrise.myaccount.addressbook.AddressFormData;
import com.google.inject.ImplementedBy;
import io.sphere.sdk.customers.Customer;
import java.util.concurrent.CompletionStage;
import java.util.function.BiFunction;
@ImplementedBy(DefaultAddAddressControllerAction.class)
@FunctionalInterface
public interface AddAddressControllerAction extends ControllerAction, BiFunction> {
@Override
CompletionStage apply(final Customer customer, final AddressFormData formData);
}