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