Class StagedOrderChangeCustomLineItemQuantityActionBuilder
java.lang.Object
com.commercetools.api.models.order_edit.StagedOrderChangeCustomLineItemQuantityActionBuilder
- All Implemented Interfaces:
io.vrap.rmf.base.client.Builder<StagedOrderChangeCustomLineItemQuantityAction>
public class StagedOrderChangeCustomLineItemQuantityActionBuilder
extends Object
implements io.vrap.rmf.base.client.Builder<StagedOrderChangeCustomLineItemQuantityAction>
StagedOrderChangeCustomLineItemQuantityActionBuilder
Example to create an instance using the builder pattern
Example to create an instance using the builder pattern
StagedOrderChangeCustomLineItemQuantityAction stagedOrderChangeCustomLineItemQuantityAction = StagedOrderChangeCustomLineItemQuantityAction.builder()
.customLineItemId("{customLineItemId}")
.quantity(0.3)
.build()
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()
builds StagedOrderChangeCustomLineItemQuantityAction with checking for non-null required valuesbuilds StagedOrderChangeCustomLineItemQuantityAction without checking for non-null required valuescustomLineItemId
(String customLineItemId) set the value to the customLineItemIdvalue of customLineItemId}value of quantity}of()
factory method for an instance of StagedOrderChangeCustomLineItemQuantityActionBuildercreate builder for StagedOrderChangeCustomLineItemQuantityAction instanceset the value to the quantity
-
Constructor Details
-
StagedOrderChangeCustomLineItemQuantityActionBuilder
-
-
Method Details
-
customLineItemId
public StagedOrderChangeCustomLineItemQuantityActionBuilder customLineItemId(String customLineItemId) set the value to the customLineItemId- Parameters:
customLineItemId
- value to be set- Returns:
- Builder
-
quantity
set the value to the quantity- Parameters:
quantity
- value to be set- Returns:
- Builder
-
getCustomLineItemId
value of customLineItemId}- Returns:
- customLineItemId
-
getQuantity
value of quantity}- Returns:
- quantity
-
build
builds StagedOrderChangeCustomLineItemQuantityAction with checking for non-null required values- Specified by:
build
in interfaceio.vrap.rmf.base.client.Builder<StagedOrderChangeCustomLineItemQuantityAction>
- Returns:
- StagedOrderChangeCustomLineItemQuantityAction
-
buildUnchecked
builds StagedOrderChangeCustomLineItemQuantityAction without checking for non-null required values- Returns:
- StagedOrderChangeCustomLineItemQuantityAction
-
of
factory method for an instance of StagedOrderChangeCustomLineItemQuantityActionBuilder- Returns:
- builder
-
of
public static StagedOrderChangeCustomLineItemQuantityActionBuilder of(StagedOrderChangeCustomLineItemQuantityAction template) create builder for StagedOrderChangeCustomLineItemQuantityAction instance- Parameters:
template
- instance with prefilled values for the builder- Returns:
- builder
-