Interface CustomLineItemTaxedPrice


public interface CustomLineItemTaxedPrice
CustomLineItemTaxedPrice
Example to create an instance using the builder pattern

     CustomLineItemTaxedPrice customLineItemTaxedPrice = CustomLineItemTaxedPrice.builder()
             .totalNet(totalNetBuilder -> totalNetBuilder)
             .totalGross(totalGrossBuilder -> totalGrossBuilder)
             .build()
 
  • Method Details

    • getTotalNet

      @NotNull @Valid @NotNull @Valid TypedMoney getTotalNet()
      Returns:
      totalNet
    • getTotalGross

      @NotNull @Valid @NotNull @Valid TypedMoney getTotalGross()
      Returns:
      totalGross
    • setTotalNet

      void setTotalNet(TypedMoney totalNet)
      set totalNet
      Parameters:
      totalNet - value to be set
    • setTotalGross

      void setTotalGross(TypedMoney totalGross)
      set totalGross
      Parameters:
      totalGross - value to be set
    • of

      factory method
      Returns:
      instance of CustomLineItemTaxedPrice
    • of

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

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

      builder factory method for CustomLineItemTaxedPrice
      Returns:
      builder
    • builder

      create builder for CustomLineItemTaxedPrice instance
      Parameters:
      template - instance with prefilled values for the builder
      Returns:
      builder
    • withCustomLineItemTaxedPrice

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