Class ProductVariantAvailabilityBuilder

java.lang.Object
com.commercetools.history.models.common.ProductVariantAvailabilityBuilder
All Implemented Interfaces:
Builder<ProductVariantAvailability>

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

     ProductVariantAvailability productVariantAvailability = ProductVariantAvailability.builder()
             .isOnStock(true)
             .restockableInDays(1)
             .availableQuantity(1)
             .channels(channelsBuilder -> channelsBuilder)
             .build()