Class ProductTypeImportRequestImpl
java.lang.Object
com.commercetools.importapi.models.importrequests.ProductTypeImportRequestImpl
- All Implemented Interfaces:
ImportRequest
,ProductTypeImportRequest
,io.vrap.rmf.base.client.ModelBase
public class ProductTypeImportRequestImpl
extends Object
implements ProductTypeImportRequest, io.vrap.rmf.base.client.ModelBase
The request body to import ProductTypes. Contains data for ProductTypes to be created or updated in a Project.
-
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.ProductTypeImportRequest
PRODUCT_TYPE
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
The product type import resources of this request.getType()
The resource types that can be imported.int
hashCode()
void
setResources
(ProductTypeImport... resources) The product type import resources of this request.void
setResources
(List<ProductTypeImport> resources) The product type import resources 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.ProductTypeImportRequest
withProductTypeImportRequest
-
Constructor Details
-
ProductTypeImportRequestImpl
public ProductTypeImportRequestImpl()create empty instance
-
-
Method Details
-
getType
The resource types that can be imported.
- Specified by:
getType
in interfaceImportRequest
- Returns:
- type
-
getResources
The product type import resources of this request.
- Specified by:
getResources
in interfaceProductTypeImportRequest
- Returns:
- resources
-
setResources
Description copied from interface:ProductTypeImportRequest
The product type import resources of this request.
- Specified by:
setResources
in interfaceProductTypeImportRequest
- Parameters:
resources
- values to be set
-
setResources
Description copied from interface:ProductTypeImportRequest
The product type import resources of this request.
- Specified by:
setResources
in interfaceProductTypeImportRequest
- Parameters:
resources
- values to be set
-
equals
-
hashCode
-