Class GraphQLValidityLockConflictErrorBuilder
- All Implemented Interfaces:
Builder<GraphQLValidityLockConflictError>
Example to create an instance using the builder pattern
GraphQLValidityLockConflictError graphQLValidityLockConflictError = GraphQLValidityLockConflictError.builder()
.sku("{sku}")
.currency("{currency}")
.build()
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionError-specific additional fields.build()builds GraphQLValidityLockConflictError with checking for non-null required valuesbuilds GraphQLValidityLockConflictError 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 for which the Standalone Price is valid.getSku()SKU for which the modification conflict occurred.Error-specific additional fields.of()factory method for an instance of GraphQLValidityLockConflictErrorBuilderof(GraphQLValidityLockConflictError template) create builder for GraphQLValidityLockConflictError instancerecurrencePolicy(RecurrencePolicyResourceIdentifier recurrencePolicy) RecurrencePolicy for which the Standalone Price is valid.recurrencePolicy(Function<RecurrencePolicyResourceIdentifierBuilder, RecurrencePolicyResourceIdentifierBuilder> builder) RecurrencePolicy for which the Standalone Price is valid.SKU for which the modification conflict occurred.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.withRecurrencePolicy(Function<RecurrencePolicyResourceIdentifierBuilder, RecurrencePolicyResourceIdentifier> builder) RecurrencePolicy for which the Standalone Price is valid.
-
Constructor Details
-
GraphQLValidityLockConflictErrorBuilder
public GraphQLValidityLockConflictErrorBuilder()
-
-
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 GraphQLValidityLockConflictErrorBuilder 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 GraphQLValidityLockConflictErrorBuilder 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 GraphQLValidityLockConflictErrorBuilder customerGroup(@Nullable CustomerGroupResourceIdentifier customerGroup) CustomerGroup for which the Standalone Price is valid.
- Parameters:
customerGroup- value to be set- Returns:
- Builder
-
channel
public GraphQLValidityLockConflictErrorBuilder 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 GraphQLValidityLockConflictErrorBuilder 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
-
recurrencePolicy
public GraphQLValidityLockConflictErrorBuilder recurrencePolicy(Function<RecurrencePolicyResourceIdentifierBuilder, RecurrencePolicyResourceIdentifierBuilder> builder) RecurrencePolicy for which the Standalone Price is valid.
- Parameters:
builder- function to build the recurrencePolicy value- Returns:
- Builder
-
withRecurrencePolicy
public GraphQLValidityLockConflictErrorBuilder withRecurrencePolicy(Function<RecurrencePolicyResourceIdentifierBuilder, RecurrencePolicyResourceIdentifier> builder) RecurrencePolicy for which the Standalone Price is valid.
- Parameters:
builder- function to build the recurrencePolicy value- Returns:
- Builder
-
recurrencePolicy
public GraphQLValidityLockConflictErrorBuilder recurrencePolicy(@Nullable RecurrencePolicyResourceIdentifier recurrencePolicy) RecurrencePolicy for which the Standalone Price is valid.
- 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
-
getRecurrencePolicy
RecurrencePolicy for which the Standalone Price is valid.
- Returns:
- recurrencePolicy
-
build
builds GraphQLValidityLockConflictError with checking for non-null required values- Specified by:
buildin interfaceBuilder<GraphQLValidityLockConflictError>- Returns:
- GraphQLValidityLockConflictError
-
buildUnchecked
builds GraphQLValidityLockConflictError without checking for non-null required values- Returns:
- GraphQLValidityLockConflictError
-
of
factory method for an instance of GraphQLValidityLockConflictErrorBuilder- Returns:
- builder
-
of
create builder for GraphQLValidityLockConflictError instance- Parameters:
template- instance with prefilled values for the builder- Returns:
- builder
-