Class OrderSetStoreActionBuilder
java.lang.Object
com.commercetools.api.models.order.OrderSetStoreActionBuilder
- All Implemented Interfaces:
io.vrap.rmf.base.client.Builder<OrderSetStoreAction>
public class OrderSetStoreActionBuilder
extends Object
implements io.vrap.rmf.base.client.Builder<OrderSetStoreAction>
OrderSetStoreActionBuilder
Example to create an instance using the builder pattern
Example to create an instance using the builder pattern
OrderSetStoreAction orderSetStoreAction = OrderSetStoreAction.builder()
.build()
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
builds OrderSetStoreAction with checking for non-null required valuesbuilds OrderSetStoreAction without checking for non-null required valuesgetStore()
ResourceIdentifier to a Store.static OrderSetStoreActionBuilder
of()
factory method for an instance of OrderSetStoreActionBuilderstatic OrderSetStoreActionBuilder
of
(OrderSetStoreAction template) create builder for OrderSetStoreAction instancestore
(StoreResourceIdentifier store) ResourceIdentifier to a Store.ResourceIdentifier to a Store.ResourceIdentifier to a Store.
-
Constructor Details
-
OrderSetStoreActionBuilder
public OrderSetStoreActionBuilder()
-
-
Method Details
-
store
public OrderSetStoreActionBuilder store(Function<StoreResourceIdentifierBuilder, StoreResourceIdentifierBuilder> builder) ResourceIdentifier to a Store.
- Parameters:
builder
- function to build the store value- Returns:
- Builder
-
withStore
public OrderSetStoreActionBuilder withStore(Function<StoreResourceIdentifierBuilder, StoreResourceIdentifier> builder) ResourceIdentifier to a Store.
- Parameters:
builder
- function to build the store value- Returns:
- Builder
-
store
ResourceIdentifier to a Store.
- Parameters:
store
- value to be set- Returns:
- Builder
-
getStore
ResourceIdentifier to a Store.
- Returns:
- store
-
build
builds OrderSetStoreAction with checking for non-null required values- Specified by:
build
in interfaceio.vrap.rmf.base.client.Builder<OrderSetStoreAction>
- Returns:
- OrderSetStoreAction
-
buildUnchecked
builds OrderSetStoreAction without checking for non-null required values- Returns:
- OrderSetStoreAction
-
of
factory method for an instance of OrderSetStoreActionBuilder- Returns:
- builder
-
of
create builder for OrderSetStoreAction instance- Parameters:
template
- instance with prefilled values for the builder- Returns:
- builder
-