Interface GraphQLDuplicatePriceKeyError

All Superinterfaces:
GraphQLErrorObject

public interface GraphQLDuplicatePriceKeyError extends GraphQLErrorObject

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

     GraphQLDuplicatePriceKeyError graphQLDuplicatePriceKeyError = GraphQLDuplicatePriceKeyError.builder()
             .conflictingPrice(conflictingPriceBuilder -> conflictingPriceBuilder)
             .build()
 
  • Field Details

    • DUPLICATE_PRICE_KEY

      static final String DUPLICATE_PRICE_KEY
      discriminator value for GraphQLDuplicatePriceKeyError
      See Also:
  • Method Details