Class StandalonePriceSetValidFromAndUntilActionImpl

java.lang.Object
com.commercetools.api.models.standalone_price.StandalonePriceSetValidFromAndUntilActionImpl
All Implemented Interfaces:
ResourceUpdateAction<StandalonePriceUpdateAction>, StandalonePriceSetValidFromAndUntilAction, StandalonePriceUpdateAction, io.vrap.rmf.base.client.ModelBase

public class StandalonePriceSetValidFromAndUntilActionImpl extends Object implements StandalonePriceSetValidFromAndUntilAction, io.vrap.rmf.base.client.ModelBase

Updating the validFrom and validUntil values generates the StandalonePriceValidFromAndUntilSet Message.

As the validity dates are part of the price scope and are not allowed to overlap, this update might return the DuplicateStandalonePriceScope and OverlappingStandalonePriceValidity errors, respectively. A Price without validity period does not conflict with a Price defined for a time period.