Class GraphQLOverlappingStandalonePriceValidityErrorBuilder
- All Implemented Interfaces:
Builder<GraphQLOverlappingStandalonePriceValidityError>
Example to create an instance using the builder pattern
GraphQLOverlappingStandalonePriceValidityError graphQLOverlappingStandalonePriceValidityError = GraphQLOverlappingStandalonePriceValidityError.builder()
.conflictingStandalonePrice(conflictingStandalonePriceBuilder -> conflictingStandalonePriceBuilder)
.sku("{sku}")
.currency("{currency}")
.build()
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionError-specific additional fields.build()
builds GraphQLOverlappingStandalonePriceValidityError with checking for non-null required valuesbuilds GraphQLOverlappingStandalonePriceValidityError without checking for non-null required valueschannel
(ChannelResourceIdentifier channel) Channel for which the Standalone Price is valid.Channel for which the Standalone Price is valid.conflictingStandalonePrice
(StandalonePriceReference conflictingStandalonePrice) Reference to the conflicting Standalone Price.conflictingStandalonePrice
(Function<StandalonePriceReferenceBuilder, StandalonePriceReferenceBuilder> builder) Reference to the conflicting Standalone Price.conflictingValidFrom
(ZonedDateTime conflictingValidFrom) Date and time (UTC) from which the conflicting Standalone Price is valid.conflictingValidUntil
(ZonedDateTime conflictingValidUntil) Date and time (UTC) until which the conflicting Standalone Price is valid.Country code of the geographic location.Currency code of the country.customerGroup
(CustomerGroupResourceIdentifier customerGroup) CustomerGroup for which the Standalone Price is valid.customerGroup
(Function<CustomerGroupResourceIdentifierBuilder, CustomerGroupResourceIdentifierBuilder> builder) CustomerGroup for which the Standalone Price is valid.Channel for which the Standalone Price is valid.Reference to the conflicting Standalone Price.Date and time (UTC) from which the conflicting Standalone Price is valid.Date and time (UTC) until which the conflicting Standalone Price is valid.Country code of the geographic location.Currency code of the country.CustomerGroup for which the Standalone Price is valid.getSku()
SKU of the ProductVariant to which the conflicting Standalone Price is associated.Date and time (UTC) from which the Standalone Price is valid.Date and time (UTC) until which the Standalone Price is valid.Error-specific additional fields.of()
factory method for an instance of GraphQLOverlappingStandalonePriceValidityErrorBuildercreate builder for GraphQLOverlappingStandalonePriceValidityError instanceSKU of the ProductVariant to which the conflicting Standalone Price is associated.validFrom
(ZonedDateTime validFrom) Date and time (UTC) from which the Standalone Price is valid.validUntil
(ZonedDateTime validUntil) Date and time (UTC) until which the Standalone Price is valid.Error-specific additional fields.Channel for which the Standalone Price is valid.withConflictingStandalonePrice
(Function<StandalonePriceReferenceBuilder, StandalonePriceReference> builder) Reference to the conflicting Standalone Price.withCustomerGroup
(Function<CustomerGroupResourceIdentifierBuilder, CustomerGroupResourceIdentifier> builder) CustomerGroup for which the Standalone Price is valid.
-
Constructor Details
-
GraphQLOverlappingStandalonePriceValidityErrorBuilder
public GraphQLOverlappingStandalonePriceValidityErrorBuilder()
-
-
Method Details
-
values
Error-specific additional fields.
- Parameters:
values
- properties to be set- Returns:
- Builder
-
addValue
Error-specific additional fields.
- Parameters:
key
- property namevalue
- property value- Returns:
- Builder
-
conflictingStandalonePrice
public GraphQLOverlappingStandalonePriceValidityErrorBuilder conflictingStandalonePrice(Function<StandalonePriceReferenceBuilder, StandalonePriceReferenceBuilder> builder) Reference to the conflicting Standalone Price.
- Parameters:
builder
- function to build the conflictingStandalonePrice value- Returns:
- Builder
-
withConflictingStandalonePrice
public GraphQLOverlappingStandalonePriceValidityErrorBuilder withConflictingStandalonePrice(Function<StandalonePriceReferenceBuilder, StandalonePriceReference> builder) Reference to the conflicting Standalone Price.
- Parameters:
builder
- function to build the conflictingStandalonePrice value- Returns:
- Builder
-
conflictingStandalonePrice
public GraphQLOverlappingStandalonePriceValidityErrorBuilder conflictingStandalonePrice(StandalonePriceReference conflictingStandalonePrice) Reference to the conflicting Standalone Price.
- Parameters:
conflictingStandalonePrice
- value to be set- Returns:
- Builder
-
sku
SKU of the ProductVariant to which the conflicting Standalone Price is associated.
- Parameters:
sku
- value to be set- Returns:
- Builder
-
currency
Currency code of the country.
- Parameters:
currency
- value to be set- Returns:
- Builder
-
country
Country code of the geographic location.
- Parameters:
country
- value to be set- Returns:
- Builder
-
customerGroup
public GraphQLOverlappingStandalonePriceValidityErrorBuilder customerGroup(Function<CustomerGroupResourceIdentifierBuilder, CustomerGroupResourceIdentifierBuilder> builder) CustomerGroup for which the Standalone Price is valid.
- Parameters:
builder
- function to build the customerGroup value- Returns:
- Builder
-
withCustomerGroup
public GraphQLOverlappingStandalonePriceValidityErrorBuilder withCustomerGroup(Function<CustomerGroupResourceIdentifierBuilder, CustomerGroupResourceIdentifier> builder) CustomerGroup for which the Standalone Price is valid.
- Parameters:
builder
- function to build the customerGroup value- Returns:
- Builder
-
customerGroup
public GraphQLOverlappingStandalonePriceValidityErrorBuilder customerGroup(@Nullable CustomerGroupResourceIdentifier customerGroup) CustomerGroup for which the Standalone Price is valid.
- Parameters:
customerGroup
- value to be set- Returns:
- Builder
-
channel
public GraphQLOverlappingStandalonePriceValidityErrorBuilder channel(Function<ChannelResourceIdentifierBuilder, ChannelResourceIdentifierBuilder> builder) Channel for which the Standalone Price is valid.
- Parameters:
builder
- function to build the channel value- Returns:
- Builder
-
withChannel
public GraphQLOverlappingStandalonePriceValidityErrorBuilder withChannel(Function<ChannelResourceIdentifierBuilder, ChannelResourceIdentifier> builder) Channel for which the Standalone Price is valid.
- Parameters:
builder
- function to build the channel value- Returns:
- Builder
-
channel
public GraphQLOverlappingStandalonePriceValidityErrorBuilder channel(@Nullable ChannelResourceIdentifier channel) Channel for which the Standalone Price is valid.
- Parameters:
channel
- value to be set- Returns:
- Builder
-
validFrom
public GraphQLOverlappingStandalonePriceValidityErrorBuilder validFrom(@Nullable ZonedDateTime validFrom) Date and time (UTC) from which the Standalone Price is valid.
- Parameters:
validFrom
- value to be set- Returns:
- Builder
-
validUntil
public GraphQLOverlappingStandalonePriceValidityErrorBuilder validUntil(@Nullable ZonedDateTime validUntil) Date and time (UTC) until which the Standalone Price is valid.
- Parameters:
validUntil
- value to be set- Returns:
- Builder
-
conflictingValidFrom
public GraphQLOverlappingStandalonePriceValidityErrorBuilder conflictingValidFrom(@Nullable ZonedDateTime conflictingValidFrom) Date and time (UTC) from which the conflicting Standalone Price is valid.
- Parameters:
conflictingValidFrom
- value to be set- Returns:
- Builder
-
conflictingValidUntil
public GraphQLOverlappingStandalonePriceValidityErrorBuilder conflictingValidUntil(@Nullable ZonedDateTime conflictingValidUntil) Date and time (UTC) until which the conflicting Standalone Price is valid.
- Parameters:
conflictingValidUntil
- value to be set- Returns:
- Builder
-
getValues
Error-specific additional fields.
- Returns:
- pattern properties
-
getConflictingStandalonePrice
Reference to the conflicting Standalone Price.
- Returns:
- conflictingStandalonePrice
-
getSku
SKU of the ProductVariant to which the conflicting Standalone Price is associated.
- Returns:
- sku
-
getCurrency
Currency code of the country.
- Returns:
- currency
-
getCountry
Country code of the geographic location.
- Returns:
- country
-
getCustomerGroup
CustomerGroup for which the Standalone Price is valid.
- Returns:
- customerGroup
-
getChannel
Channel for which the Standalone Price is valid.
- Returns:
- channel
-
getValidFrom
Date and time (UTC) from which the Standalone Price is valid.
- Returns:
- validFrom
-
getValidUntil
Date and time (UTC) until which the Standalone Price is valid.
- Returns:
- validUntil
-
getConflictingValidFrom
Date and time (UTC) from which the conflicting Standalone Price is valid.
- Returns:
- conflictingValidFrom
-
getConflictingValidUntil
Date and time (UTC) until which the conflicting Standalone Price is valid.
- Returns:
- conflictingValidUntil
-
build
builds GraphQLOverlappingStandalonePriceValidityError with checking for non-null required values- Specified by:
build
in interfaceBuilder<GraphQLOverlappingStandalonePriceValidityError>
- Returns:
- GraphQLOverlappingStandalonePriceValidityError
-
buildUnchecked
builds GraphQLOverlappingStandalonePriceValidityError without checking for non-null required values- Returns:
- GraphQLOverlappingStandalonePriceValidityError
-
of
factory method for an instance of GraphQLOverlappingStandalonePriceValidityErrorBuilder- Returns:
- builder
-
of
public static GraphQLOverlappingStandalonePriceValidityErrorBuilder of(GraphQLOverlappingStandalonePriceValidityError template) create builder for GraphQLOverlappingStandalonePriceValidityError instance- Parameters:
template
- instance with prefilled values for the builder- Returns:
- builder
-