Class PaymentSetMethodInfoInterfaceAccountActionBuilder
java.lang.Object
com.commercetools.api.models.payment.PaymentSetMethodInfoInterfaceAccountActionBuilder
- All Implemented Interfaces:
Builder<PaymentSetMethodInfoInterfaceAccountAction>
public class PaymentSetMethodInfoInterfaceAccountActionBuilder
extends Object
implements Builder<PaymentSetMethodInfoInterfaceAccountAction>
PaymentSetMethodInfoInterfaceAccountActionBuilder
Example to create an instance using the builder pattern
Example to create an instance using the builder pattern
PaymentSetMethodInfoInterfaceAccountAction paymentSetMethodInfoInterfaceAccountAction = PaymentSetMethodInfoInterfaceAccountAction.builder()
.build()
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()
builds PaymentSetMethodInfoInterfaceAccountAction with checking for non-null required valuesbuilds PaymentSetMethodInfoInterfaceAccountAction without checking for non-null required valuesNew account or instance of the payment interface.interfaceAccount
(String interfaceAccount) New account or instance of the payment interface.of()
factory method for an instance of PaymentSetMethodInfoInterfaceAccountActionBuilderof
(PaymentSetMethodInfoInterfaceAccountAction template) create builder for PaymentSetMethodInfoInterfaceAccountAction instance
-
Constructor Details
-
PaymentSetMethodInfoInterfaceAccountActionBuilder
public PaymentSetMethodInfoInterfaceAccountActionBuilder()
-
-
Method Details
-
interfaceAccount
public PaymentSetMethodInfoInterfaceAccountActionBuilder interfaceAccount(@Nullable String interfaceAccount) New account or instance of the payment interface. If empty, any existing value will be removed.
- Parameters:
interfaceAccount
- value to be set- Returns:
- Builder
-
getInterfaceAccount
New account or instance of the payment interface. If empty, any existing value will be removed.
- Returns:
- interfaceAccount
-
build
builds PaymentSetMethodInfoInterfaceAccountAction with checking for non-null required values- Specified by:
build
in interfaceBuilder<PaymentSetMethodInfoInterfaceAccountAction>
- Returns:
- PaymentSetMethodInfoInterfaceAccountAction
-
buildUnchecked
builds PaymentSetMethodInfoInterfaceAccountAction without checking for non-null required values- Returns:
- PaymentSetMethodInfoInterfaceAccountAction
-
of
factory method for an instance of PaymentSetMethodInfoInterfaceAccountActionBuilder- Returns:
- builder
-
of
public static PaymentSetMethodInfoInterfaceAccountActionBuilder of(PaymentSetMethodInfoInterfaceAccountAction template) create builder for PaymentSetMethodInfoInterfaceAccountAction instance- Parameters:
template
- instance with prefilled values for the builder- Returns:
- builder
-