Class StoreSetCheckoutUrlTemplateActionBuilder
java.lang.Object
com.commercetools.api.models.store.StoreSetCheckoutUrlTemplateActionBuilder
- All Implemented Interfaces:
Builder<StoreSetCheckoutUrlTemplateAction>
public class StoreSetCheckoutUrlTemplateActionBuilder
extends Object
implements Builder<StoreSetCheckoutUrlTemplateAction>
StoreSetCheckoutUrlTemplateActionBuilder
Example to create an instance using the builder pattern
Example to create an instance using the builder pattern
StoreSetCheckoutUrlTemplateAction storeSetCheckoutUrlTemplateAction = StoreSetCheckoutUrlTemplateAction.builder()
.build()
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()builds StoreSetCheckoutUrlTemplateAction with checking for non-null required valuesbuilds StoreSetCheckoutUrlTemplateAction without checking for non-null required valuescheckoutUrlTemplate(String checkoutUrlTemplate) Value to set.Value to set.of()factory method for an instance of StoreSetCheckoutUrlTemplateActionBuilderof(StoreSetCheckoutUrlTemplateAction template) create builder for StoreSetCheckoutUrlTemplateAction instance
-
Constructor Details
-
StoreSetCheckoutUrlTemplateActionBuilder
public StoreSetCheckoutUrlTemplateActionBuilder()
-
-
Method Details
-
checkoutUrlTemplate
public StoreSetCheckoutUrlTemplateActionBuilder checkoutUrlTemplate(@Nullable String checkoutUrlTemplate) Value to set. Must be an RFC 6570 URI template containing the
checkoutIdvariable. If empty, any existing value is removed.- Parameters:
checkoutUrlTemplate- value to be set- Returns:
- Builder
-
getCheckoutUrlTemplate
Value to set. Must be an RFC 6570 URI template containing the
checkoutIdvariable. If empty, any existing value is removed.- Returns:
- checkoutUrlTemplate
-
build
builds StoreSetCheckoutUrlTemplateAction with checking for non-null required values- Specified by:
buildin interfaceBuilder<StoreSetCheckoutUrlTemplateAction>- Returns:
- StoreSetCheckoutUrlTemplateAction
-
buildUnchecked
builds StoreSetCheckoutUrlTemplateAction without checking for non-null required values- Returns:
- StoreSetCheckoutUrlTemplateAction
-
of
factory method for an instance of StoreSetCheckoutUrlTemplateActionBuilder- Returns:
- builder
-
of
public static StoreSetCheckoutUrlTemplateActionBuilder of(StoreSetCheckoutUrlTemplateAction template) create builder for StoreSetCheckoutUrlTemplateAction instance- Parameters:
template- instance with prefilled values for the builder- Returns:
- builder
-