Package com.commercetools.api.models.me
Class MyPaymentSetMethodInfoMethodActionBuilder
java.lang.Object
com.commercetools.api.models.me.MyPaymentSetMethodInfoMethodActionBuilder
- All Implemented Interfaces:
Builder<MyPaymentSetMethodInfoMethodAction>
public class MyPaymentSetMethodInfoMethodActionBuilder
extends Object
implements Builder<MyPaymentSetMethodInfoMethodAction>
MyPaymentSetMethodInfoMethodActionBuilder
Example to create an instance using the builder pattern
Example to create an instance using the builder pattern
MyPaymentSetMethodInfoMethodAction myPaymentSetMethodInfoMethodAction = MyPaymentSetMethodInfoMethodAction.builder()
.build()
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
builds MyPaymentSetMethodInfoMethodAction with checking for non-null required valuesbuilds MyPaymentSetMethodInfoMethodAction without checking for non-null required valuesValue to set.Value to set.of()
factory method for an instance of MyPaymentSetMethodInfoMethodActionBuilderof
(MyPaymentSetMethodInfoMethodAction template) create builder for MyPaymentSetMethodInfoMethodAction instance
-
Constructor Details
-
MyPaymentSetMethodInfoMethodActionBuilder
public MyPaymentSetMethodInfoMethodActionBuilder()
-
-
Method Details
-
method
Value to set. If empty, any existing value will be removed.
- Parameters:
method
- value to be set- Returns:
- Builder
-
getMethod
Value to set. If empty, any existing value will be removed.
- Returns:
- method
-
build
builds MyPaymentSetMethodInfoMethodAction with checking for non-null required values- Specified by:
build
in interfaceBuilder<MyPaymentSetMethodInfoMethodAction>
- Returns:
- MyPaymentSetMethodInfoMethodAction
-
buildUnchecked
builds MyPaymentSetMethodInfoMethodAction without checking for non-null required values- Returns:
- MyPaymentSetMethodInfoMethodAction
-
of
factory method for an instance of MyPaymentSetMethodInfoMethodActionBuilder- Returns:
- builder
-
of
public static MyPaymentSetMethodInfoMethodActionBuilder of(MyPaymentSetMethodInfoMethodAction template) create builder for MyPaymentSetMethodInfoMethodAction instance- Parameters:
template
- instance with prefilled values for the builder- Returns:
- builder
-