Interface DuplicateStandalonePriceScopeError

All Superinterfaces:
ErrorObject
All Known Implementing Classes:
DuplicateStandalonePriceScopeErrorImpl

Returned when the given Price scope conflicts with the Price scope of an existing Standalone Price. Every Standalone Price associated with the same SKU must have a distinct combination of currency, country, Customer Group, Channel, and 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

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