Interface GraphQLOverlappingStandalonePriceValidityError

All Superinterfaces:
GraphQLErrorObject
All Known Implementing Classes:
GraphQLOverlappingStandalonePriceValidityErrorImpl

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

     GraphQLOverlappingStandalonePriceValidityError graphQLOverlappingStandalonePriceValidityError = GraphQLOverlappingStandalonePriceValidityError.builder()
             .conflictingStandalonePrice(conflictingStandalonePriceBuilder -> conflictingStandalonePriceBuilder)
             .sku("{sku}")
             .currency("{currency}")
             .build()