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