Interface TaxCategoryReference

All Superinterfaces:
Reference

public interface TaxCategoryReference extends Reference

Reference to a TaxCategory.


Example to create an instance using the builder pattern

     TaxCategoryReference taxCategoryReference = TaxCategoryReference.builder()
             .id("{id}")
             .build()
 
  • Field Details

  • Method Details

    • getId

      @NotNull @NotNull String getId()

      Unique identifier of the referenced TaxCategory.

      Specified by:
      getId in interface Reference
      Returns:
      id
    • setId

      void setId(String id)

      Unique identifier of the referenced TaxCategory.

      Specified by:
      setId in interface Reference
      Parameters:
      id - value to be set
    • of

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

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

      Specified by:
      copyDeep in interface Reference
    • deepCopy

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

      static TaxCategoryReferenceBuilder builder()
      builder factory method for TaxCategoryReference
      Returns:
      builder
    • builder

      create builder for TaxCategoryReference instance
      Parameters:
      template - instance with prefilled values for the builder
      Returns:
      builder
    • withTaxCategoryReference

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