Interface RecurringOrderActive

All Superinterfaces:
RecurringOrderStateDraft

public interface RecurringOrderActive extends RecurringOrderStateDraft

Changes the Recurring Order state to active.


Example to create an instance using the builder pattern

     RecurringOrderActive recurringOrderActive = RecurringOrderActive.builder()
             .build()
 
  • Field Details

  • Method Details

    • getResumesAt

      ZonedDateTime getResumesAt()

      If set, the Recurring Order will automatically resume at the date and time (UTC) specified.

      Returns:
      resumesAt
    • setResumesAt

      void setResumesAt(ZonedDateTime resumesAt)

      If set, the Recurring Order will automatically resume at the date and time (UTC) specified.

      Parameters:
      resumesAt - value to be set
    • of

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

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

      Specified by:
      copyDeep in interface RecurringOrderStateDraft
    • deepCopy

      @Nullable static RecurringOrderActive deepCopy(@Nullable RecurringOrderActive template)
      factory method to create a deep copy of RecurringOrderActive
      Parameters:
      template - instance to be copied
      Returns:
      copy instance
    • builder

      static RecurringOrderActiveBuilder builder()
      builder factory method for RecurringOrderActive
      Returns:
      builder
    • builder

      create builder for RecurringOrderActive instance
      Parameters:
      template - instance with prefilled values for the builder
      Returns:
      builder
    • withRecurringOrderActive

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