Class ProductVariantPatchRequestImpl
java.lang.Object
com.commercetools.importapi.models.importrequests.ProductVariantPatchRequestImpl
- All Implemented Interfaces:
ImportRequest
,ProductVariantPatchRequest
,io.vrap.rmf.base.client.ModelBase
public class ProductVariantPatchRequestImpl
extends Object
implements ProductVariantPatchRequest, io.vrap.rmf.base.client.ModelBase
The request body to import ProductVariantPatches. The data to be imported are represented by ProductVariantPatch.
-
Nested Class Summary
Nested classes/interfaces inherited from interface io.vrap.rmf.base.client.ModelBase
io.vrap.rmf.base.client.ModelBase.FilteredRecursiveToStringStyle
-
Field Summary
Fields inherited from interface com.commercetools.importapi.models.importrequests.ProductVariantPatchRequest
PRODUCT_VARIANT_PATCH
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
The product variant patches of this request.getType()
The resource types that can be imported.int
hashCode()
void
setPatches
(ProductVariantPatch... patches) The product variant patches of this request.void
setPatches
(List<ProductVariantPatch> patches) The product variant patches of this request.Methods inherited from class java.lang.Object
getClass, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.commercetools.importapi.models.importrequests.ImportRequest
withImportRequest
Methods inherited from interface io.vrap.rmf.base.client.ModelBase
reflectionString, reflectionString
Methods inherited from interface com.commercetools.importapi.models.importrequests.ProductVariantPatchRequest
withProductVariantPatchRequest
-
Constructor Details
-
ProductVariantPatchRequestImpl
public ProductVariantPatchRequestImpl()create empty instance
-
-
Method Details
-
getType
The resource types that can be imported.
- Specified by:
getType
in interfaceImportRequest
- Returns:
- type
-
getPatches
The product variant patches of this request.
- Specified by:
getPatches
in interfaceProductVariantPatchRequest
- Returns:
- patches
-
setPatches
Description copied from interface:ProductVariantPatchRequest
The product variant patches of this request.
- Specified by:
setPatches
in interfaceProductVariantPatchRequest
- Parameters:
patches
- values to be set
-
setPatches
Description copied from interface:ProductVariantPatchRequest
The product variant patches of this request.
- Specified by:
setPatches
in interfaceProductVariantPatchRequest
- Parameters:
patches
- values to be set
-
equals
-
hashCode
public int hashCode()
-