Class AsyncOrderSchedulesClient


  • public class AsyncOrderSchedulesClient
    extends java.lang.Object
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.util.concurrent.CompletableFuture<OrderScheduleAboutRes> aboutV1​(java.lang.String orderScheduleId)
      Retrieves the generated order count and live orchestrator status from Temporal.
      java.util.concurrent.CompletableFuture<OrderScheduleAboutRes> aboutV1​(java.lang.String orderScheduleId, RequestOptions requestOptions)
      Retrieves the generated order count and live orchestrator status from Temporal.
      java.util.concurrent.CompletableFuture<java.lang.Boolean> activateV1​(java.lang.String orderScheduleId)
      Validates a draft order schedule, creates its Temporal orchestrator schedule, and activates it.
      java.util.concurrent.CompletableFuture<java.lang.Boolean> activateV1​(java.lang.String orderScheduleId, RequestOptions requestOptions)
      Validates a draft order schedule, creates its Temporal orchestrator schedule, and activates it.
      java.util.concurrent.CompletableFuture<java.lang.Boolean> archiveV1​(java.lang.String orderScheduleId)
      Archives an order schedule and deletes its Temporal schedule, preventing future runs.
      java.util.concurrent.CompletableFuture<java.lang.Boolean> archiveV1​(java.lang.String orderScheduleId, RequestOptions requestOptions)
      Archives an order schedule and deletes its Temporal schedule, preventing future runs.
      AsyncDraftClient draft()  
      java.util.concurrent.CompletableFuture<OrderSchedule1> getByIdV1​(java.lang.String orderScheduleId)
      Retrieves an order schedule by ID.
      java.util.concurrent.CompletableFuture<OrderSchedule1> getByIdV1​(java.lang.String orderScheduleId, RequestOptions requestOptions)
      Retrieves an order schedule by ID.
      java.util.concurrent.CompletableFuture<OrderScheduleListRes> listV1()
      Lists order schedules for the caller's organization with filtering, sorting, and pagination.
      java.util.concurrent.CompletableFuture<OrderScheduleListRes> listV1​(OrderSchedulesListV1Request request)
      Lists order schedules for the caller's organization with filtering, sorting, and pagination.
      java.util.concurrent.CompletableFuture<OrderScheduleListRes> listV1​(OrderSchedulesListV1Request request, RequestOptions requestOptions)
      Lists order schedules for the caller's organization with filtering, sorting, and pagination.
      AsyncOrderManifestClient orderManifest()  
      java.util.concurrent.CompletableFuture<java.lang.Boolean> pauseV1​(java.lang.String orderScheduleId)
      Pauses an active order schedule.
      java.util.concurrent.CompletableFuture<java.lang.Boolean> pauseV1​(java.lang.String orderScheduleId, RequestOptions requestOptions)
      Pauses an active order schedule.
      java.util.concurrent.CompletableFuture<java.lang.Boolean> syncWithOrchestratorV1​(java.lang.String orderScheduleId)
      Re-syncs the Temporal schedule to match the order schedule's intended status.
      java.util.concurrent.CompletableFuture<java.lang.Boolean> syncWithOrchestratorV1​(java.lang.String orderScheduleId, RequestOptions requestOptions)
      Re-syncs the Temporal schedule to match the order schedule's intended status.
      java.util.concurrent.CompletableFuture<java.lang.Boolean> takeOwnershipV1​(java.lang.String orderScheduleId)
      Transfers order schedule workflow ownership to the caller.
      java.util.concurrent.CompletableFuture<java.lang.Boolean> takeOwnershipV1​(java.lang.String orderScheduleId, RequestOptions requestOptions)
      Transfers order schedule workflow ownership to the caller.
      java.util.concurrent.CompletableFuture<java.lang.Boolean> triggerV1​(java.lang.String orderScheduleId)
      Triggers an order schedule immediately.
      java.util.concurrent.CompletableFuture<java.lang.Boolean> triggerV1​(java.lang.String orderScheduleId, RequestOptions requestOptions)
      Triggers an order schedule immediately.
      java.util.concurrent.CompletableFuture<java.lang.Boolean> unpauseV1​(java.lang.String orderScheduleId)
      Unpauses a paused order schedule.
      java.util.concurrent.CompletableFuture<java.lang.Boolean> unpauseV1​(java.lang.String orderScheduleId, RequestOptions requestOptions)
      Unpauses a paused order schedule.
      AsyncRawOrderSchedulesClient withRawResponse()
      Get responses with HTTP metadata like headers
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • AsyncOrderSchedulesClient

        public AsyncOrderSchedulesClient​(ClientOptions clientOptions)
    • Method Detail

      • listV1

        public java.util.concurrent.CompletableFuture<OrderScheduleListRes> listV1()
        Lists order schedules for the caller's organization with filtering, sorting, and pagination. | authz: min_org_role=operator | () -> (OrderScheduleListRes)
      • listV1

        public java.util.concurrent.CompletableFuture<OrderScheduleListRes> listV1​(OrderSchedulesListV1Request request)
        Lists order schedules for the caller's organization with filtering, sorting, and pagination. | authz: min_org_role=operator | () -> (OrderScheduleListRes)
      • listV1

        public java.util.concurrent.CompletableFuture<OrderScheduleListRes> listV1​(OrderSchedulesListV1Request request,
                                                                                   RequestOptions requestOptions)
        Lists order schedules for the caller's organization with filtering, sorting, and pagination. | authz: min_org_role=operator | () -> (OrderScheduleListRes)
      • getByIdV1

        public java.util.concurrent.CompletableFuture<OrderSchedule1> getByIdV1​(java.lang.String orderScheduleId)
        Retrieves an order schedule by ID. | authz: min_org_role=operator | () -> (OrderSchedule1)
      • getByIdV1

        public java.util.concurrent.CompletableFuture<OrderSchedule1> getByIdV1​(java.lang.String orderScheduleId,
                                                                                RequestOptions requestOptions)
        Retrieves an order schedule by ID. | authz: min_org_role=operator | () -> (OrderSchedule1)
      • aboutV1

        public java.util.concurrent.CompletableFuture<OrderScheduleAboutRes> aboutV1​(java.lang.String orderScheduleId)
        Retrieves the generated order count and live orchestrator status from Temporal. | authz: min_org_role=operator | () -> (OrderScheduleAboutRes)
      • aboutV1

        public java.util.concurrent.CompletableFuture<OrderScheduleAboutRes> aboutV1​(java.lang.String orderScheduleId,
                                                                                     RequestOptions requestOptions)
        Retrieves the generated order count and live orchestrator status from Temporal. | authz: min_org_role=operator | () -> (OrderScheduleAboutRes)
      • activateV1

        public java.util.concurrent.CompletableFuture<java.lang.Boolean> activateV1​(java.lang.String orderScheduleId)
        Validates a draft order schedule, creates its Temporal orchestrator schedule, and activates it. | authz: min_org_role=operator | () -> (bool)
      • activateV1

        public java.util.concurrent.CompletableFuture<java.lang.Boolean> activateV1​(java.lang.String orderScheduleId,
                                                                                    RequestOptions requestOptions)
        Validates a draft order schedule, creates its Temporal orchestrator schedule, and activates it. | authz: min_org_role=operator | () -> (bool)
      • triggerV1

        public java.util.concurrent.CompletableFuture<java.lang.Boolean> triggerV1​(java.lang.String orderScheduleId)
        Triggers an order schedule immediately. | authz: min_org_role=operator | () -> (bool)
      • triggerV1

        public java.util.concurrent.CompletableFuture<java.lang.Boolean> triggerV1​(java.lang.String orderScheduleId,
                                                                                   RequestOptions requestOptions)
        Triggers an order schedule immediately. | authz: min_org_role=operator | () -> (bool)
      • pauseV1

        public java.util.concurrent.CompletableFuture<java.lang.Boolean> pauseV1​(java.lang.String orderScheduleId)
        Pauses an active order schedule. | authz: min_org_role=operator | () -> (bool)
      • pauseV1

        public java.util.concurrent.CompletableFuture<java.lang.Boolean> pauseV1​(java.lang.String orderScheduleId,
                                                                                 RequestOptions requestOptions)
        Pauses an active order schedule. | authz: min_org_role=operator | () -> (bool)
      • unpauseV1

        public java.util.concurrent.CompletableFuture<java.lang.Boolean> unpauseV1​(java.lang.String orderScheduleId)
        Unpauses a paused order schedule. | authz: min_org_role=operator | () -> (bool)
      • unpauseV1

        public java.util.concurrent.CompletableFuture<java.lang.Boolean> unpauseV1​(java.lang.String orderScheduleId,
                                                                                   RequestOptions requestOptions)
        Unpauses a paused order schedule. | authz: min_org_role=operator | () -> (bool)
      • takeOwnershipV1

        public java.util.concurrent.CompletableFuture<java.lang.Boolean> takeOwnershipV1​(java.lang.String orderScheduleId)
        Transfers order schedule workflow ownership to the caller. | authz: min_org_role=operator | () -> (bool)
      • takeOwnershipV1

        public java.util.concurrent.CompletableFuture<java.lang.Boolean> takeOwnershipV1​(java.lang.String orderScheduleId,
                                                                                         RequestOptions requestOptions)
        Transfers order schedule workflow ownership to the caller. | authz: min_org_role=operator | () -> (bool)
      • archiveV1

        public java.util.concurrent.CompletableFuture<java.lang.Boolean> archiveV1​(java.lang.String orderScheduleId)
        Archives an order schedule and deletes its Temporal schedule, preventing future runs. | authz: min_org_role=operator | () -> (bool)
      • archiveV1

        public java.util.concurrent.CompletableFuture<java.lang.Boolean> archiveV1​(java.lang.String orderScheduleId,
                                                                                   RequestOptions requestOptions)
        Archives an order schedule and deletes its Temporal schedule, preventing future runs. | authz: min_org_role=operator | () -> (bool)
      • syncWithOrchestratorV1

        public java.util.concurrent.CompletableFuture<java.lang.Boolean> syncWithOrchestratorV1​(java.lang.String orderScheduleId)
        Re-syncs the Temporal schedule to match the order schedule's intended status. | authz: min_org_role=operator | () -> (bool)
      • syncWithOrchestratorV1

        public java.util.concurrent.CompletableFuture<java.lang.Boolean> syncWithOrchestratorV1​(java.lang.String orderScheduleId,
                                                                                                RequestOptions requestOptions)
        Re-syncs the Temporal schedule to match the order schedule's intended status. | authz: min_org_role=operator | () -> (bool)