Class TaxedItemPriceBuilder

java.lang.Object
com.commercetools.api.models.cart.TaxedItemPriceBuilder
All Implemented Interfaces:
Builder<TaxedItemPrice>

public class TaxedItemPriceBuilder extends Object implements Builder<TaxedItemPrice>
TaxedItemPriceBuilder
Example to create an instance using the builder pattern

     TaxedItemPrice taxedItemPrice = TaxedItemPrice.builder()
             .totalNet(totalNetBuilder -> totalNetBuilder)
             .totalGross(totalGrossBuilder -> totalGrossBuilder)
             .plusTaxPortions(taxPortionsBuilder -> taxPortionsBuilder)
             .build()
 
  • Constructor Details

    • TaxedItemPriceBuilder

      public TaxedItemPriceBuilder()
  • Method Details