Interface ChangeValueRelativeChangeValue

All Superinterfaces:
ChangeValueChangeValue

public interface ChangeValueRelativeChangeValue extends ChangeValueChangeValue
ChangeValueRelativeChangeValue
Example to create an instance using the builder pattern

     ChangeValueRelativeChangeValue changeValueRelativeChangeValue = ChangeValueRelativeChangeValue.builder()
             .permyriad(1)
             .build()
 
  • Field Details

  • Method Details

    • getType

      @NotNull @NotNull String getType()
      Specified by:
      getType in interface ChangeValueChangeValue
      Returns:
      type
    • getPermyriad

      @NotNull @NotNull Integer getPermyriad()

      Fraction (per ten thousand) the price is reduced by. For example, 1000 results in a 10% price reduction.

      Returns:
      permyriad
    • setPermyriad

      void setPermyriad(Integer permyriad)

      Fraction (per ten thousand) the price is reduced by. For example, 1000 results in a 10% price reduction.

      Parameters:
      permyriad - value to be set
    • of

      factory method
      Returns:
      instance of ChangeValueRelativeChangeValue
    • of

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

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

      builder factory method for ChangeValueRelativeChangeValue
      Returns:
      builder
    • builder

      create builder for ChangeValueRelativeChangeValue instance
      Parameters:
      template - instance with prefilled values for the builder
      Returns:
      builder
    • withChangeValueRelativeChangeValue

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