Class StagedOrderChangePaymentStateActionBuilder
java.lang.Object
com.commercetools.api.models.order_edit.StagedOrderChangePaymentStateActionBuilder
- All Implemented Interfaces:
io.vrap.rmf.base.client.Builder<StagedOrderChangePaymentStateAction>
public class StagedOrderChangePaymentStateActionBuilder
extends Object
implements io.vrap.rmf.base.client.Builder<StagedOrderChangePaymentStateAction>
StagedOrderChangePaymentStateActionBuilder
Example to create an instance using the builder pattern
Example to create an instance using the builder pattern
StagedOrderChangePaymentStateAction stagedOrderChangePaymentStateAction = StagedOrderChangePaymentStateAction.builder()
.build()
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
builds StagedOrderChangePaymentStateAction with checking for non-null required valuesbuilds StagedOrderChangePaymentStateAction without checking for non-null required valuesvalue of paymentState}of()
factory method for an instance of StagedOrderChangePaymentStateActionBuilderof
(StagedOrderChangePaymentStateAction template) create builder for StagedOrderChangePaymentStateAction instancepaymentState
(PaymentState paymentState) set the value to the paymentState
-
Constructor Details
-
StagedOrderChangePaymentStateActionBuilder
-
-
Method Details
-
paymentState
set the value to the paymentState- Parameters:
paymentState
- value to be set- Returns:
- Builder
-
getPaymentState
value of paymentState}- Returns:
- paymentState
-
build
builds StagedOrderChangePaymentStateAction with checking for non-null required values- Specified by:
build
in interfaceio.vrap.rmf.base.client.Builder<StagedOrderChangePaymentStateAction>
- Returns:
- StagedOrderChangePaymentStateAction
-
buildUnchecked
builds StagedOrderChangePaymentStateAction without checking for non-null required values- Returns:
- StagedOrderChangePaymentStateAction
-
of
factory method for an instance of StagedOrderChangePaymentStateActionBuilder- Returns:
- builder
-
of
public static StagedOrderChangePaymentStateActionBuilder of(StagedOrderChangePaymentStateAction template) create builder for StagedOrderChangePaymentStateAction instance- Parameters:
template
- instance with prefilled values for the builder- Returns:
- builder
-