Interface AttributeMoneyType

All Superinterfaces:
AttributeType

public interface AttributeMoneyType extends AttributeType
AttributeMoneyType
Example to create an instance using the builder pattern

     AttributeMoneyType attributeMoneyType = AttributeMoneyType.builder()
             .build()
 
  • Field Details

  • Method Details

    • of

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

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

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

      static AttributeMoneyTypeBuilder builder()
      builder factory method for AttributeMoneyType
      Returns:
      builder
    • builder

      static AttributeMoneyTypeBuilder builder(AttributeMoneyType template)
      create builder for AttributeMoneyType instance
      Parameters:
      template - instance with prefilled values for the builder
      Returns:
      builder
    • withAttributeMoneyType

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