com.commercetools.sync.customers.CustomerSyncOptions Maven / Gradle / Ivy
package com.commercetools.sync.customers;
import com.commercetools.api.client.ProjectApiRoot;
import com.commercetools.api.models.customer.Customer;
import com.commercetools.api.models.customer.CustomerDraft;
import com.commercetools.api.models.customer.CustomerUpdateAction;
import com.commercetools.sync.commons.BaseSyncOptions;
import com.commercetools.sync.commons.exceptions.SyncException;
import com.commercetools.sync.commons.utils.QuadConsumer;
import com.commercetools.sync.commons.utils.TriConsumer;
import com.commercetools.sync.commons.utils.TriFunction;
import java.util.List;
import java.util.Optional;
import java.util.function.Function;
import javax.annotation.Nonnull;
import javax.annotation.Nullable;
public final class CustomerSyncOptions
extends BaseSyncOptions {
CustomerSyncOptions(
@Nonnull final ProjectApiRoot ctpClient,
@Nullable
final QuadConsumer<
SyncException,
Optional,
Optional,
List>
errorCallback,
@Nullable
final TriConsumer, Optional>
warningCallback,
final int batchSize,
@Nullable
final TriFunction<
List, CustomerDraft, Customer, List>
beforeUpdateCallback,
@Nullable final Function beforeCreateCallback,
final long cacheSize) {
super(
ctpClient,
errorCallback,
warningCallback,
batchSize,
beforeUpdateCallback,
beforeCreateCallback,
cacheSize);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy