Class GraphQLExactLockConflictErrorBuilder
- All Implemented Interfaces:
Builder<GraphQLExactLockConflictError>
Example to create an instance using the builder pattern
GraphQLExactLockConflictError graphQLExactLockConflictError = GraphQLExactLockConflictError.builder()
.sku("{sku}")
.currency("{currency}")
.build()
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionError-specific additional fields.build()builds GraphQLExactLockConflictError with checking for non-null required valuesbuilds GraphQLExactLockConflictError 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.Country code of the geographic location.Currency code of the Standalone Price.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.Country code of the geographic location.Currency code of the Standalone Price.CustomerGroup for which the Standalone Price is valid.RecurrencePolicy that applies to the Standalone Price.getSku()SKU for which the modification conflict occurred.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 GraphQLExactLockConflictErrorBuilderof(GraphQLExactLockConflictError template) create builder for GraphQLExactLockConflictError instancerecurrencePolicy(RecurrencePolicyReference recurrencePolicy) RecurrencePolicy that applies to the Standalone Price.recurrencePolicy(Function<RecurrencePolicyReferenceBuilder, RecurrencePolicyReferenceBuilder> builder) RecurrencePolicy that applies to the Standalone Price.SKU for which the modification conflict occurred.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.withCustomerGroup(Function<CustomerGroupResourceIdentifierBuilder, CustomerGroupResourceIdentifier> builder) CustomerGroup for which the Standalone Price is valid.RecurrencePolicy that applies to the Standalone Price.
-
Constructor Details
-
GraphQLExactLockConflictErrorBuilder
public GraphQLExactLockConflictErrorBuilder()
-
-
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
-
sku
SKU for which the modification conflict occurred.
- Parameters:
sku- value to be set- Returns:
- Builder
-
currency
Currency code of the Standalone Price.
- 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 GraphQLExactLockConflictErrorBuilder 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 GraphQLExactLockConflictErrorBuilder 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 GraphQLExactLockConflictErrorBuilder customerGroup(@Nullable CustomerGroupResourceIdentifier customerGroup) CustomerGroup for which the Standalone Price is valid.
- Parameters:
customerGroup- value to be set- Returns:
- Builder
-
channel
public GraphQLExactLockConflictErrorBuilder 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 GraphQLExactLockConflictErrorBuilder withChannel(Function<ChannelResourceIdentifierBuilder, ChannelResourceIdentifier> builder) Channel for which the Standalone Price is valid.
- Parameters:
builder- function to build the channel value- Returns:
- Builder
-
channel
Channel for which the Standalone Price is valid.
- Parameters:
channel- value to be set- Returns:
- Builder
-
validFrom
Date and time (UTC) from which the Standalone Price is valid.
- Parameters:
validFrom- value to be set- Returns:
- Builder
-
validUntil
Date and time (UTC) until which the Standalone Price is valid.
- Parameters:
validUntil- value to be set- Returns:
- Builder
-
recurrencePolicy
public GraphQLExactLockConflictErrorBuilder recurrencePolicy(Function<RecurrencePolicyReferenceBuilder, RecurrencePolicyReferenceBuilder> builder) RecurrencePolicy that applies to the Standalone Price.
- Parameters:
builder- function to build the recurrencePolicy value- Returns:
- Builder
-
withRecurrencePolicy
public GraphQLExactLockConflictErrorBuilder withRecurrencePolicy(Function<RecurrencePolicyReferenceBuilder, RecurrencePolicyReference> builder) RecurrencePolicy that applies to the Standalone Price.
- Parameters:
builder- function to build the recurrencePolicy value- Returns:
- Builder
-
recurrencePolicy
public GraphQLExactLockConflictErrorBuilder recurrencePolicy(@Nullable RecurrencePolicyReference recurrencePolicy) RecurrencePolicy that applies to the Standalone Price.
- Parameters:
recurrencePolicy- value to be set- Returns:
- Builder
-
getValues
Error-specific additional fields.
- Returns:
- pattern properties
-
getSku
SKU for which the modification conflict occurred.
- Returns:
- sku
-
getCurrency
Currency code of the Standalone Price.
- 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
-
getRecurrencePolicy
RecurrencePolicy that applies to the Standalone Price.
- Returns:
- recurrencePolicy
-
build
builds GraphQLExactLockConflictError with checking for non-null required values- Specified by:
buildin interfaceBuilder<GraphQLExactLockConflictError>- Returns:
- GraphQLExactLockConflictError
-
buildUnchecked
builds GraphQLExactLockConflictError without checking for non-null required values- Returns:
- GraphQLExactLockConflictError
-
of
factory method for an instance of GraphQLExactLockConflictErrorBuilder- Returns:
- builder
-
of
create builder for GraphQLExactLockConflictError instance- Parameters:
template- instance with prefilled values for the builder- Returns:
- builder
-