Class PaymentMethodSetPaymentInterfaceActionBuilder
java.lang.Object
com.commercetools.api.models.payment_method.PaymentMethodSetPaymentInterfaceActionBuilder
- All Implemented Interfaces:
Builder<PaymentMethodSetPaymentInterfaceAction>
public class PaymentMethodSetPaymentInterfaceActionBuilder
extends Object
implements Builder<PaymentMethodSetPaymentInterfaceAction>
PaymentMethodSetPaymentInterfaceActionBuilder
Example to create an instance using the builder pattern
Example to create an instance using the builder pattern
PaymentMethodSetPaymentInterfaceAction paymentMethodSetPaymentInterfaceAction = PaymentMethodSetPaymentInterfaceAction.builder()
.build()
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()
builds PaymentMethodSetPaymentInterfaceAction with checking for non-null required valuesbuilds PaymentMethodSetPaymentInterfaceAction without checking for non-null required valuesNew payment service that processes the Payment—for example, a PSP.of()
factory method for an instance of PaymentMethodSetPaymentInterfaceActionBuilderof
(PaymentMethodSetPaymentInterfaceAction template) create builder for PaymentMethodSetPaymentInterfaceAction instancepaymentInterface
(String paymentInterface) New payment service that processes the Payment—for example, a PSP.
-
Constructor Details
-
PaymentMethodSetPaymentInterfaceActionBuilder
public PaymentMethodSetPaymentInterfaceActionBuilder()
-
-
Method Details
-
paymentInterface
public PaymentMethodSetPaymentInterfaceActionBuilder paymentInterface(@Nullable String paymentInterface) New payment service that processes the Payment—for example, a PSP. If empty, any existing value will be removed.
- Parameters:
paymentInterface
- value to be set- Returns:
- Builder
-
getPaymentInterface
New payment service that processes the Payment—for example, a PSP. If empty, any existing value will be removed.
- Returns:
- paymentInterface
-
build
builds PaymentMethodSetPaymentInterfaceAction with checking for non-null required values- Specified by:
build
in interfaceBuilder<PaymentMethodSetPaymentInterfaceAction>
- Returns:
- PaymentMethodSetPaymentInterfaceAction
-
buildUnchecked
builds PaymentMethodSetPaymentInterfaceAction without checking for non-null required values- Returns:
- PaymentMethodSetPaymentInterfaceAction
-
of
factory method for an instance of PaymentMethodSetPaymentInterfaceActionBuilder- Returns:
- builder
-
of
public static PaymentMethodSetPaymentInterfaceActionBuilder of(PaymentMethodSetPaymentInterfaceAction template) create builder for PaymentMethodSetPaymentInterfaceAction instance- Parameters:
template
- instance with prefilled values for the builder- Returns:
- builder
-