Class ProductChangeMasterVariantActionImpl

java.lang.Object
com.commercetools.api.models.product.ProductChangeMasterVariantActionImpl
All Implemented Interfaces:
ProductChangeMasterVariantAction, ProductUpdateAction, ResourceUpdateAction<ProductUpdateAction>, io.vrap.rmf.base.client.ModelBase

public class ProductChangeMasterVariantActionImpl extends Object implements ProductChangeMasterVariantAction, io.vrap.rmf.base.client.ModelBase

Assigns the specified Product Variant to the masterVariant and removes the same from variants at the same time. The current Master Variant becomes part of the variants array. Either variantId or sku is required.