Class CartAddDiscountCodeActionBuilder

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

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

     CartAddDiscountCodeAction cartAddDiscountCodeAction = CartAddDiscountCodeAction.builder()
             .code("{code}")
             .build()
 
  • Constructor Details

    • CartAddDiscountCodeActionBuilder

      public CartAddDiscountCodeActionBuilder()
  • Method Details