Class StandalonePriceSetCustomTypeActionBuilder
- All Implemented Interfaces:
Builder<StandalonePriceSetCustomTypeAction>
Example to create an instance using the builder pattern
StandalonePriceSetCustomTypeAction standalonePriceSetCustomTypeAction = StandalonePriceSetCustomTypeAction.builder()
.build()
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
builds StandalonePriceSetCustomTypeAction with checking for non-null required valuesbuilds StandalonePriceSetCustomTypeAction without checking for non-null required valuesfields
(FieldContainer fields) Sets the Custom Fields fields for the StandalonePrice.Sets the Custom Fields fields for the StandalonePrice.Sets the Custom Fields fields for the StandalonePrice.getType()
Defines the Type that extends the StandalonePrice with Custom Fields.of()
factory method for an instance of StandalonePriceSetCustomTypeActionBuilderof
(StandalonePriceSetCustomTypeAction template) create builder for StandalonePriceSetCustomTypeAction instancetype
(TypeResourceIdentifier type) Defines the Type that extends the StandalonePrice with Custom Fields.Defines the Type that extends the StandalonePrice with Custom Fields.Sets the Custom Fields fields for the StandalonePrice.Defines the Type that extends the StandalonePrice with Custom Fields.
-
Constructor Details
-
StandalonePriceSetCustomTypeActionBuilder
public StandalonePriceSetCustomTypeActionBuilder()
-
-
Method Details
-
type
public StandalonePriceSetCustomTypeActionBuilder type(Function<TypeResourceIdentifierBuilder, TypeResourceIdentifierBuilder> builder) Defines the Type that extends the StandalonePrice with Custom Fields. If absent, any existing Type and Custom Fields are removed from the StandalonePrice.
- Parameters:
builder
- function to build the type value- Returns:
- Builder
-
withType
public StandalonePriceSetCustomTypeActionBuilder withType(Function<TypeResourceIdentifierBuilder, TypeResourceIdentifier> builder) Defines the Type that extends the StandalonePrice with Custom Fields. If absent, any existing Type and Custom Fields are removed from the StandalonePrice.
- Parameters:
builder
- function to build the type value- Returns:
- Builder
-
type
Defines the Type that extends the StandalonePrice with Custom Fields. If absent, any existing Type and Custom Fields are removed from the StandalonePrice.
- Parameters:
type
- value to be set- Returns:
- Builder
-
fields
public StandalonePriceSetCustomTypeActionBuilder fields(Function<FieldContainerBuilder, FieldContainerBuilder> builder) Sets the Custom Fields fields for the StandalonePrice.
- Parameters:
builder
- function to build the fields value- Returns:
- Builder
-
withFields
public StandalonePriceSetCustomTypeActionBuilder withFields(Function<FieldContainerBuilder, FieldContainer> builder) Sets the Custom Fields fields for the StandalonePrice.
- Parameters:
builder
- function to build the fields value- Returns:
- Builder
-
fields
Sets the Custom Fields fields for the StandalonePrice.
- Parameters:
fields
- value to be set- Returns:
- Builder
-
getType
Defines the Type that extends the StandalonePrice with Custom Fields. If absent, any existing Type and Custom Fields are removed from the StandalonePrice.
- Returns:
- type
-
getFields
Sets the Custom Fields fields for the StandalonePrice.
- Returns:
- fields
-
build
builds StandalonePriceSetCustomTypeAction with checking for non-null required values- Specified by:
build
in interfaceBuilder<StandalonePriceSetCustomTypeAction>
- Returns:
- StandalonePriceSetCustomTypeAction
-
buildUnchecked
builds StandalonePriceSetCustomTypeAction without checking for non-null required values- Returns:
- StandalonePriceSetCustomTypeAction
-
of
factory method for an instance of StandalonePriceSetCustomTypeActionBuilder- Returns:
- builder
-
of
public static StandalonePriceSetCustomTypeActionBuilder of(StandalonePriceSetCustomTypeAction template) create builder for StandalonePriceSetCustomTypeAction instance- Parameters:
template
- instance with prefilled values for the builder- Returns:
- builder
-