Class TaxCategorySyncOptionsBuilder
- java.lang.Object
-
- com.commercetools.sync.commons.BaseSyncOptionsBuilder<TaxCategorySyncOptionsBuilder,TaxCategorySyncOptions,io.sphere.sdk.taxcategories.TaxCategory,io.sphere.sdk.taxcategories.TaxCategoryDraft,io.sphere.sdk.taxcategories.TaxCategory>
-
- com.commercetools.sync.taxcategories.TaxCategorySyncOptionsBuilder
-
public final class TaxCategorySyncOptionsBuilder extends BaseSyncOptionsBuilder<TaxCategorySyncOptionsBuilder,TaxCategorySyncOptions,io.sphere.sdk.taxcategories.TaxCategory,io.sphere.sdk.taxcategories.TaxCategoryDraft,io.sphere.sdk.taxcategories.TaxCategory>
-
-
Field Summary
Fields Modifier and Type Field Description static intBATCH_SIZE_DEFAULT-
Fields inherited from class com.commercetools.sync.commons.BaseSyncOptionsBuilder
batchSize, beforeCreateCallback, beforeUpdateCallback, cacheSize, ctpClient, errorCallback, warningCallback
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description TaxCategorySyncOptionsbuild()Creates new instance ofTaxCategorySyncOptionsenriched with all attributes provided tothisbuilder.protected TaxCategorySyncOptionsBuildergetThis()Returns an instance of this class to be used in the superclass's generic methods.static TaxCategorySyncOptionsBuilderof(io.sphere.sdk.client.SphereClient ctpClient)Creates a new instance ofTaxCategorySyncOptionsBuildergiven aSphereClientresponsible for interaction with the target CTP project, with the default batch size (BATCH_SIZE_DEFAULT= 50).-
Methods inherited from class com.commercetools.sync.commons.BaseSyncOptionsBuilder
batchSize, beforeCreateCallback, beforeUpdateCallback, cacheSize, errorCallback, warningCallback
-
-
-
-
Field Detail
-
BATCH_SIZE_DEFAULT
public static final int BATCH_SIZE_DEFAULT
- See Also:
- Constant Field Values
-
-
Method Detail
-
of
public static TaxCategorySyncOptionsBuilder of(@Nonnull io.sphere.sdk.client.SphereClient ctpClient)
Creates a new instance ofTaxCategorySyncOptionsBuildergiven aSphereClientresponsible for interaction with the target CTP project, with the default batch size (BATCH_SIZE_DEFAULT= 50).- Parameters:
ctpClient- instance of theSphereClientresponsible for interaction with the target CTP project.- Returns:
- new instance of
TaxCategorySyncOptionsBuilder
-
build
public TaxCategorySyncOptions build()
Creates new instance ofTaxCategorySyncOptionsenriched with all attributes provided tothisbuilder.- Specified by:
buildin classBaseSyncOptionsBuilder<TaxCategorySyncOptionsBuilder,TaxCategorySyncOptions,io.sphere.sdk.taxcategories.TaxCategory,io.sphere.sdk.taxcategories.TaxCategoryDraft,io.sphere.sdk.taxcategories.TaxCategory>- Returns:
- new instance of
TaxCategorySyncOptions
-
getThis
protected TaxCategorySyncOptionsBuilder getThis()
Returns an instance of this class to be used in the superclass's generic methods. Please see the JavaDoc in the overridden method for further details.- Specified by:
getThisin classBaseSyncOptionsBuilder<TaxCategorySyncOptionsBuilder,TaxCategorySyncOptions,io.sphere.sdk.taxcategories.TaxCategory,io.sphere.sdk.taxcategories.TaxCategoryDraft,io.sphere.sdk.taxcategories.TaxCategory>- Returns:
- an instance of this class.
-
-