Class PaymentMethodPaymentInterfaceSetMessagePayloadBuilder
java.lang.Object
com.commercetools.api.models.message.PaymentMethodPaymentInterfaceSetMessagePayloadBuilder
- All Implemented Interfaces:
Builder<PaymentMethodPaymentInterfaceSetMessagePayload>
public class PaymentMethodPaymentInterfaceSetMessagePayloadBuilder
extends Object
implements Builder<PaymentMethodPaymentInterfaceSetMessagePayload>
PaymentMethodPaymentInterfaceSetMessagePayloadBuilder
Example to create an instance using the builder pattern
Example to create an instance using the builder pattern
PaymentMethodPaymentInterfaceSetMessagePayload paymentMethodPaymentInterfaceSetMessagePayload = PaymentMethodPaymentInterfaceSetMessagePayload.builder()
.build()
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()
builds PaymentMethodPaymentInterfaceSetMessagePayload with checking for non-null required valuesbuilds PaymentMethodPaymentInterfaceSetMessagePayload without checking for non-null required valuesPayment interface of the Payment Method before the Set PaymentInterface update action.Payment interface of the Payment Method after the Set PaymentInterface update action.of()
factory method for an instance of PaymentMethodPaymentInterfaceSetMessagePayloadBuildercreate builder for PaymentMethodPaymentInterfaceSetMessagePayload instanceoldPaymentInterface
(String oldPaymentInterface) Payment interface of the Payment Method before the Set PaymentInterface update action.paymentInterface
(String paymentInterface) Payment interface of the Payment Method after the Set PaymentInterface update action.
-
Constructor Details
-
PaymentMethodPaymentInterfaceSetMessagePayloadBuilder
public PaymentMethodPaymentInterfaceSetMessagePayloadBuilder()
-
-
Method Details
-
paymentInterface
public PaymentMethodPaymentInterfaceSetMessagePayloadBuilder paymentInterface(@Nullable String paymentInterface) Payment interface of the Payment Method after the Set PaymentInterface update action.
- Parameters:
paymentInterface
- value to be set- Returns:
- Builder
-
oldPaymentInterface
public PaymentMethodPaymentInterfaceSetMessagePayloadBuilder oldPaymentInterface(@Nullable String oldPaymentInterface) Payment interface of the Payment Method before the Set PaymentInterface update action.
- Parameters:
oldPaymentInterface
- value to be set- Returns:
- Builder
-
getPaymentInterface
Payment interface of the Payment Method after the Set PaymentInterface update action.
- Returns:
- paymentInterface
-
getOldPaymentInterface
Payment interface of the Payment Method before the Set PaymentInterface update action.
- Returns:
- oldPaymentInterface
-
build
builds PaymentMethodPaymentInterfaceSetMessagePayload with checking for non-null required values- Specified by:
build
in interfaceBuilder<PaymentMethodPaymentInterfaceSetMessagePayload>
- Returns:
- PaymentMethodPaymentInterfaceSetMessagePayload
-
buildUnchecked
builds PaymentMethodPaymentInterfaceSetMessagePayload without checking for non-null required values- Returns:
- PaymentMethodPaymentInterfaceSetMessagePayload
-
of
factory method for an instance of PaymentMethodPaymentInterfaceSetMessagePayloadBuilder- Returns:
- builder
-
of
public static PaymentMethodPaymentInterfaceSetMessagePayloadBuilder of(PaymentMethodPaymentInterfaceSetMessagePayload template) create builder for PaymentMethodPaymentInterfaceSetMessagePayload instance- Parameters:
template
- instance with prefilled values for the builder- Returns:
- builder
-