Interface PriceKeyReference

All Superinterfaces:
KeyReference

public interface PriceKeyReference extends KeyReference

References a price by key.


Example to create an instance using the builder pattern

     PriceKeyReference priceKeyReference = PriceKeyReference.builder()
             .key("{key}")
             .build()
 
  • Field Details

  • Method Details

    • of

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

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

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

      static PriceKeyReferenceBuilder builder()
      builder factory method for PriceKeyReference
      Returns:
      builder
    • builder

      static PriceKeyReferenceBuilder builder(PriceKeyReference template)
      create builder for PriceKeyReference instance
      Parameters:
      template - instance with prefilled values for the builder
      Returns:
      builder
    • withPriceKeyReference

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