Interface OrderKeyReference

All Superinterfaces:
KeyReference

public interface OrderKeyReference extends KeyReference

References an order by key.


Example to create an instance using the builder pattern

     OrderKeyReference orderKeyReference = OrderKeyReference.builder()
             .key("{key}")
             .build()
 
  • Field Details

  • Method Details

    • of

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

      static OrderKeyReference of(OrderKeyReference template)
      factory method to create a shallow copy OrderKeyReference
      Parameters:
      template - instance to be copied
      Returns:
      copy instance
    • deepCopy

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

      static OrderKeyReferenceBuilder builder()
      builder factory method for OrderKeyReference
      Returns:
      builder
    • builder

      static OrderKeyReferenceBuilder builder(OrderKeyReference template)
      create builder for OrderKeyReference instance
      Parameters:
      template - instance with prefilled values for the builder
      Returns:
      builder
    • withOrderKeyReference

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