Interface OrderPatchImportRequest

All Superinterfaces:
ImportRequest

public interface OrderPatchImportRequest extends 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 Details

  • Method Details

    • getPatches

      @NotNull @Valid @NotNull @Valid List<OrderPatchImport> getPatches()

      The order patches of this request

      Returns:
      patches
    • setPatches

      void setPatches(OrderPatchImport... patches)

      The order patches of this request

      Parameters:
      patches - values to be set
    • setPatches

      void setPatches(List<OrderPatchImport> patches)

      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
    • 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

      default <T> T withOrderPatchImportRequest(Function<OrderPatchImportRequest,T> helper)
      accessor map function
      Type Parameters:
      T - mapped type
      Parameters:
      helper - function to map the object
      Returns:
      mapped value
    • typeReference

      static com.fasterxml.jackson.core.type.TypeReference<OrderPatchImportRequest> typeReference()
      gives a TypeReference for usage with Jackson DataBind
      Returns:
      TypeReference