Class TaxPortionBuilder

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

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

     TaxPortion taxPortion = TaxPortion.builder()
             .rate(0.3)
             .amount(amountBuilder -> amountBuilder)
             .build()
 
  • Constructor Details

    • TaxPortionBuilder

      public TaxPortionBuilder()
  • Method Details