Interface DuplicatePriceKeyError

All Superinterfaces:
ErrorObject
All Known Implementing Classes:
DuplicatePriceKeyErrorImpl

public interface DuplicatePriceKeyError extends ErrorObject

Returned when a Price key conflicts with an existing key.

Keys of Embedded Prices must be unique per ProductVariant.


Example to create an instance using the builder pattern

     DuplicatePriceKeyError duplicatePriceKeyError = DuplicatePriceKeyError.builder()
             .message("{message}")
             .conflictingPrice(conflictingPriceBuilder -> conflictingPriceBuilder)
             .build()