Interface RemoveDeliveryDraft

All Superinterfaces:
Draft<RemoveDeliveryDraft>

public interface RemoveDeliveryDraft extends Draft<RemoveDeliveryDraft>
RemoveDeliveryDraft
Example to create an instance using the builder pattern

     RemoveDeliveryDraft removeDeliveryDraft = RemoveDeliveryDraft.builder()
             .id("{id}")
             .build()
 
  • Method Details

    • getId

      @NotNull @NotNull String getId()
      Returns:
      id
    • setId

      void setId(String id)
      set id
      Parameters:
      id - value to be set
    • of

      static RemoveDeliveryDraft of()
      factory method
      Returns:
      instance of RemoveDeliveryDraft
    • of

      factory method to create a shallow copy RemoveDeliveryDraft
      Parameters:
      template - instance to be copied
      Returns:
      copy instance
    • deepCopy

      factory method to create a deep copy of RemoveDeliveryDraft
      Parameters:
      template - instance to be copied
      Returns:
      copy instance
    • builder

      static RemoveDeliveryDraftBuilder builder()
      builder factory method for RemoveDeliveryDraft
      Returns:
      builder
    • builder

      create builder for RemoveDeliveryDraft instance
      Parameters:
      template - instance with prefilled values for the builder
      Returns:
      builder
    • withRemoveDeliveryDraft

      default <T> T withRemoveDeliveryDraft(Function<RemoveDeliveryDraft,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<RemoveDeliveryDraft> typeReference()
      gives a TypeReference for usage with Jackson DataBind
      Returns:
      TypeReference