Class PaymentSetMethodInfoInterfaceActionBuilder
java.lang.Object
com.commercetools.api.models.payment.PaymentSetMethodInfoInterfaceActionBuilder
- All Implemented Interfaces:
io.vrap.rmf.base.client.Builder<PaymentSetMethodInfoInterfaceAction>
public class PaymentSetMethodInfoInterfaceActionBuilder
extends Object
implements io.vrap.rmf.base.client.Builder<PaymentSetMethodInfoInterfaceAction>
PaymentSetMethodInfoInterfaceActionBuilder
Example to create an instance using the builder pattern
Example to create an instance using the builder pattern
PaymentSetMethodInfoInterfaceAction paymentSetMethodInfoInterfaceAction = PaymentSetMethodInfoInterfaceAction.builder()
.interface("{interface}")
.build()
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescription_interface
(String _interface) Value to set.build()
builds PaymentSetMethodInfoInterfaceAction with checking for non-null required valuesbuilds PaymentSetMethodInfoInterfaceAction without checking for non-null required valuesValue to set.of()
factory method for an instance of PaymentSetMethodInfoInterfaceActionBuilderof
(PaymentSetMethodInfoInterfaceAction template) create builder for PaymentSetMethodInfoInterfaceAction instance
-
Constructor Details
-
PaymentSetMethodInfoInterfaceActionBuilder
public PaymentSetMethodInfoInterfaceActionBuilder()
-
-
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 PaymentSetMethodInfoInterfaceAction with checking for non-null required values- Specified by:
build
in interfaceio.vrap.rmf.base.client.Builder<PaymentSetMethodInfoInterfaceAction>
- Returns:
- PaymentSetMethodInfoInterfaceAction
-
buildUnchecked
builds PaymentSetMethodInfoInterfaceAction without checking for non-null required values- Returns:
- PaymentSetMethodInfoInterfaceAction
-
of
factory method for an instance of PaymentSetMethodInfoInterfaceActionBuilder- Returns:
- builder
-
of
public static PaymentSetMethodInfoInterfaceActionBuilder of(PaymentSetMethodInfoInterfaceAction template) create builder for PaymentSetMethodInfoInterfaceAction instance- Parameters:
template
- instance with prefilled values for the builder- Returns:
- builder
-