Class PaymentMethodSetInterfaceAccountActionBuilder
java.lang.Object
com.commercetools.api.models.payment_method.PaymentMethodSetInterfaceAccountActionBuilder
- All Implemented Interfaces:
Builder<PaymentMethodSetInterfaceAccountAction>
public class PaymentMethodSetInterfaceAccountActionBuilder
extends Object
implements Builder<PaymentMethodSetInterfaceAccountAction>
PaymentMethodSetInterfaceAccountActionBuilder
Example to create an instance using the builder pattern
Example to create an instance using the builder pattern
PaymentMethodSetInterfaceAccountAction paymentMethodSetInterfaceAccountAction = PaymentMethodSetInterfaceAccountAction.builder()
.build()
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()
builds PaymentMethodSetInterfaceAccountAction with checking for non-null required valuesbuilds PaymentMethodSetInterfaceAccountAction 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 PaymentMethodSetInterfaceAccountActionBuilderof
(PaymentMethodSetInterfaceAccountAction template) create builder for PaymentMethodSetInterfaceAccountAction instance
-
Constructor Details
-
PaymentMethodSetInterfaceAccountActionBuilder
public PaymentMethodSetInterfaceAccountActionBuilder()
-
-
Method Details
-
interfaceAccount
public PaymentMethodSetInterfaceAccountActionBuilder 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 PaymentMethodSetInterfaceAccountAction with checking for non-null required values- Specified by:
build
in interfaceBuilder<PaymentMethodSetInterfaceAccountAction>
- Returns:
- PaymentMethodSetInterfaceAccountAction
-
buildUnchecked
builds PaymentMethodSetInterfaceAccountAction without checking for non-null required values- Returns:
- PaymentMethodSetInterfaceAccountAction
-
of
factory method for an instance of PaymentMethodSetInterfaceAccountActionBuilder- Returns:
- builder
-
of
public static PaymentMethodSetInterfaceAccountActionBuilder of(PaymentMethodSetInterfaceAccountAction template) create builder for PaymentMethodSetInterfaceAccountAction instance- Parameters:
template
- instance with prefilled values for the builder- Returns:
- builder
-