Interface StandalonePriceImportRequest
- All Superinterfaces:
ImportRequest
The request body to import Standalone Prices. Contains data for Standalone Prices to be created or updated in a Project.
Example to create an instance using the builder pattern
StandalonePriceImportRequest standalonePriceImportRequest = StandalonePriceImportRequest.builder()
.plusResources(resourcesBuilder -> resourcesBuilder)
.build()
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
discriminator value for StandalonePriceImportRequest -
Method Summary
Modifier and TypeMethodDescriptionbuilder()
builder factory method for StandalonePriceImportRequestbuilder
(StandalonePriceImportRequest template) create builder for StandalonePriceImportRequest instancestatic StandalonePriceImportRequest
deepCopy
(StandalonePriceImportRequest template) factory method to create a deep copy of StandalonePriceImportRequest@NotNull @Valid List<StandalonePriceImport>
The Standalone Price import resources of this request.static StandalonePriceImportRequest
of()
factory methodstatic StandalonePriceImportRequest
of
(StandalonePriceImportRequest template) factory method to create a shallow copy StandalonePriceImportRequestvoid
setResources
(StandalonePriceImport... resources) The Standalone Price import resources of this request.void
setResources
(List<StandalonePriceImport> resources) The Standalone Price import resources of this request.static com.fasterxml.jackson.core.type.TypeReference<StandalonePriceImportRequest>
gives a TypeReference for usage with Jackson DataBinddefault <T> T
accessor map functionMethods inherited from interface com.commercetools.importapi.models.importrequests.ImportRequest
getType, withImportRequest
-
Field Details
-
STANDALONE_PRICE
discriminator value for StandalonePriceImportRequest- See Also:
-
-
Method Details
-
getResources
The Standalone Price import resources of this request.
- Returns:
- resources
-
setResources
The Standalone Price import resources of this request.
- Parameters:
resources
- values to be set
-
setResources
The Standalone Price import resources of this request.
- Parameters:
resources
- values to be set
-
of
factory method- Returns:
- instance of StandalonePriceImportRequest
-
of
factory method to create a shallow copy StandalonePriceImportRequest- Parameters:
template
- instance to be copied- Returns:
- copy instance
-
deepCopy
@Nullable static StandalonePriceImportRequest deepCopy(@Nullable StandalonePriceImportRequest template) factory method to create a deep copy of StandalonePriceImportRequest- Parameters:
template
- instance to be copied- Returns:
- copy instance
-
builder
builder factory method for StandalonePriceImportRequest- Returns:
- builder
-
builder
create builder for StandalonePriceImportRequest instance- Parameters:
template
- instance with prefilled values for the builder- Returns:
- builder
-
withStandalonePriceImportRequest
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
-