Class OrderDraftsClient


  • public class OrderDraftsClient
    extends java.lang.Object
    • Field Detail

      • taskGroupClient

        protected final java.util.function.Supplier<TaskGroupClient> taskGroupClient
      • taskClient

        protected final java.util.function.Supplier<TaskClient> taskClient
      • taskArtifactClient

        protected final java.util.function.Supplier<TaskArtifactClient> taskArtifactClient
      • cargoClient

        protected final java.util.function.Supplier<CargoClient> cargoClient
    • Constructor Detail

      • OrderDraftsClient

        public OrderDraftsClient​(ClientOptions clientOptions)
    • Method Detail

      • withRawResponse

        public RawOrderDraftsClient withRawResponse()
        Get responses with HTTP metadata like headers
      • newV1

        public OrdersNewDraftRes newV1()
        Creates a new draft order with org assignments based on caller's organization type.
      • deleteV1

        public boolean deleteV1​(java.lang.String orderId)
        Deletes a draft order and all associated entities
      • deleteV1

        public boolean deleteV1​(java.lang.String orderId,
                                RequestOptions requestOptions)
        Deletes a draft order and all associated entities
      • validateV1

        public boolean validateV1​(java.lang.String orderId)
        Checks whether the draft order satisfies all requirements to move into staging.
      • validateV1

        public boolean validateV1​(java.lang.String orderId,
                                  RequestOptions requestOptions)
        Checks whether the draft order satisfies all requirements to move into staging.