Interface CustomerKeyReference

All Superinterfaces:
KeyReference

public interface CustomerKeyReference extends KeyReference

References a customer by key.


Example to create an instance using the builder pattern

     CustomerKeyReference customerKeyReference = CustomerKeyReference.builder()
             .key("{key}")
             .build()
 
  • Field Details

  • Method Details

    • of

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

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

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

      static CustomerKeyReferenceBuilder builder()
      builder factory method for CustomerKeyReference
      Returns:
      builder
    • builder

      create builder for CustomerKeyReference instance
      Parameters:
      template - instance with prefilled values for the builder
      Returns:
      builder
    • withCustomerKeyReference

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