Interface OverlappingStandalonePriceValidityError

All Superinterfaces:
ErrorObject
All Known Implementing Classes:
OverlappingStandalonePriceValidityErrorImpl

Returned when a given Price validity period conflicts with an existing one. Every Standalone Price associated with the same SKU and with the same combination of currency, country, Customer Group, and Channel, must have non-overlapping validity periods (validFrom and validUntil).

The error is returned as a failed response to the Create StandalonePrice request.


Example to create an instance using the builder pattern

     OverlappingStandalonePriceValidityError overlappingStandalonePriceValidityError = OverlappingStandalonePriceValidityError.builder()
             .message("{message}")
             .conflictingStandalonePrice(conflictingStandalonePriceBuilder -> conflictingStandalonePriceBuilder)
             .sku("{sku}")
             .currency("{currency}")
             .build()