Class MyCartRecalculateActionBuilder

java.lang.Object
com.commercetools.api.models.me.MyCartRecalculateActionBuilder
All Implemented Interfaces:
io.vrap.rmf.base.client.Builder<MyCartRecalculateAction>

public class MyCartRecalculateActionBuilder extends Object implements io.vrap.rmf.base.client.Builder<MyCartRecalculateAction>
MyCartRecalculateActionBuilder
Example to create an instance using the builder pattern

     MyCartRecalculateAction myCartRecalculateAction = MyCartRecalculateAction.builder()
             .build()
 
  • Constructor Details

  • Method Details

    • updateProductData

      • Leave empty or set to false to only update the Prices and TaxRates of the Line Items.
      • Set to true to update the Line Items' product data (like name, variant and productType) also.
      Parameters:
      updateProductData - value to be set
      Returns:
      Builder
    • getUpdateProductData

      • Leave empty or set to false to only update the Prices and TaxRates of the Line Items.
      • Set to true to update the Line Items' product data (like name, variant and productType) also.
      Returns:
      updateProductData
    • build

      builds MyCartRecalculateAction with checking for non-null required values
      Specified by:
      build in interface io.vrap.rmf.base.client.Builder<MyCartRecalculateAction>
      Returns:
      MyCartRecalculateAction
    • buildUnchecked

      builds MyCartRecalculateAction without checking for non-null required values
      Returns:
      MyCartRecalculateAction
    • of

      factory method for an instance of MyCartRecalculateActionBuilder
      Returns:
      builder
    • of

      create builder for MyCartRecalculateAction instance
      Parameters:
      template - instance with prefilled values for the builder
      Returns:
      builder