Interface OrderPatchImportRequest
- All Superinterfaces:
ImportRequest
The request body to import OrderPatches. The data to be imported are represented by OrderPatchImport.
Example to create an instance using the builder pattern
OrderPatchImportRequest orderPatchImportRequest = OrderPatchImportRequest.builder()
.plusPatches(patchesBuilder -> patchesBuilder)
.build()
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Stringdiscriminator value for OrderPatchImportRequest -
Method Summary
Modifier and TypeMethodDescriptionbuilder()builder factory method for OrderPatchImportRequestbuilder(OrderPatchImportRequest template) create builder for OrderPatchImportRequest instancecopyDeep()static OrderPatchImportRequestdeepCopy(OrderPatchImportRequest template) factory method to create a deep copy of OrderPatchImportRequest@NotNull @Valid List<OrderPatchImport>The order patches of this requeststatic OrderPatchImportRequestof()factory methodstatic OrderPatchImportRequestof(OrderPatchImportRequest template) factory method to create a shallow copy OrderPatchImportRequestvoidsetPatches(OrderPatchImport... patches) The order patches of this requestvoidsetPatches(List<OrderPatchImport> patches) The order patches of this requeststatic com.fasterxml.jackson.core.type.TypeReference<OrderPatchImportRequest>gives a TypeReference for usage with Jackson DataBinddefault <T> Taccessor map functionMethods inherited from interface com.commercetools.importapi.models.importrequests.ImportRequest
getType, withImportRequest
-
Field Details
-
ORDER_PATCH
discriminator value for OrderPatchImportRequest- See Also:
-
-
Method Details
-
getPatches
The order patches of this request
- Returns:
- patches
-
setPatches
The order patches of this request
- Parameters:
patches- values to be set
-
setPatches
The order patches of this request
- Parameters:
patches- values to be set
-
of
factory method- Returns:
- instance of OrderPatchImportRequest
-
of
factory method to create a shallow copy OrderPatchImportRequest- Parameters:
template- instance to be copied- Returns:
- copy instance
-
copyDeep
OrderPatchImportRequest copyDeep()- Specified by:
copyDeepin interfaceImportRequest
-
deepCopy
factory method to create a deep copy of OrderPatchImportRequest- Parameters:
template- instance to be copied- Returns:
- copy instance
-
builder
builder factory method for OrderPatchImportRequest- Returns:
- builder
-
builder
create builder for OrderPatchImportRequest instance- Parameters:
template- instance with prefilled values for the builder- Returns:
- builder
-
withOrderPatchImportRequest
accessor map function- Type Parameters:
T- mapped type- Parameters:
helper- function to map the object- Returns:
- mapped value
-
typeReference
gives a TypeReference for usage with Jackson DataBind- Returns:
- TypeReference
-