Package com.commercetools.api.models.me
Class MyPaymentSetMethodInfoInterfaceActionBuilder
java.lang.Object
com.commercetools.api.models.me.MyPaymentSetMethodInfoInterfaceActionBuilder
- All Implemented Interfaces:
Builder<MyPaymentSetMethodInfoInterfaceAction>
public class MyPaymentSetMethodInfoInterfaceActionBuilder
extends Object
implements Builder<MyPaymentSetMethodInfoInterfaceAction>
MyPaymentSetMethodInfoInterfaceActionBuilder
Example to create an instance using the builder pattern
Example to create an instance using the builder pattern
MyPaymentSetMethodInfoInterfaceAction myPaymentSetMethodInfoInterfaceAction = MyPaymentSetMethodInfoInterfaceAction.builder()
.interface("{interface}")
.build()
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescription_interface
(String _interface) Value to set.build()
builds MyPaymentSetMethodInfoInterfaceAction with checking for non-null required valuesbuilds MyPaymentSetMethodInfoInterfaceAction without checking for non-null required valuesValue to set.of()
factory method for an instance of MyPaymentSetMethodInfoInterfaceActionBuilderof
(MyPaymentSetMethodInfoInterfaceAction template) create builder for MyPaymentSetMethodInfoInterfaceAction instance
-
Constructor Details
-
MyPaymentSetMethodInfoInterfaceActionBuilder
public MyPaymentSetMethodInfoInterfaceActionBuilder()
-
-
Method Details
-
_interface
Value to set. Once set, the
paymentInterface
of thepaymentMethodInfo
cannot be changed.- Parameters:
_interface
- value to be set- Returns:
- Builder
-
getInterface
Value to set. Once set, the
paymentInterface
of thepaymentMethodInfo
cannot be changed.- Returns:
- interface
-
build
builds MyPaymentSetMethodInfoInterfaceAction with checking for non-null required values- Specified by:
build
in interfaceBuilder<MyPaymentSetMethodInfoInterfaceAction>
- Returns:
- MyPaymentSetMethodInfoInterfaceAction
-
buildUnchecked
builds MyPaymentSetMethodInfoInterfaceAction without checking for non-null required values- Returns:
- MyPaymentSetMethodInfoInterfaceAction
-
of
factory method for an instance of MyPaymentSetMethodInfoInterfaceActionBuilder- Returns:
- builder
-
of
public static MyPaymentSetMethodInfoInterfaceActionBuilder of(MyPaymentSetMethodInfoInterfaceAction template) create builder for MyPaymentSetMethodInfoInterfaceAction instance- Parameters:
template
- instance with prefilled values for the builder- Returns:
- builder
-