Class PaymentMethodInfoInterfaceSetMessagePayloadBuilder
java.lang.Object
com.commercetools.api.models.message.PaymentMethodInfoInterfaceSetMessagePayloadBuilder
- All Implemented Interfaces:
Builder<PaymentMethodInfoInterfaceSetMessagePayload>
public class PaymentMethodInfoInterfaceSetMessagePayloadBuilder
extends Object
implements Builder<PaymentMethodInfoInterfaceSetMessagePayload>
PaymentMethodInfoInterfaceSetMessagePayloadBuilder
Example to create an instance using the builder pattern
Example to create an instance using the builder pattern
PaymentMethodInfoInterfaceSetMessagePayload paymentMethodInfoInterfaceSetMessagePayload = PaymentMethodInfoInterfaceSetMessagePayload.builder()
.build()
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription_interface
(String _interface) Payment interface of the Payment Method after the Set MethodInfo Interface update action.build()
builds PaymentMethodInfoInterfaceSetMessagePayload with checking for non-null required valuesbuilds PaymentMethodInfoInterfaceSetMessagePayload without checking for non-null required valuesPayment interface of the Payment Method after the Set MethodInfo Interface update action.Payment interface of the Payment Method before the Set MethodInfo Interface update action.of()
factory method for an instance of PaymentMethodInfoInterfaceSetMessagePayloadBuildercreate builder for PaymentMethodInfoInterfaceSetMessagePayload instanceoldInterface
(String oldInterface) Payment interface of the Payment Method before the Set MethodInfo Interface update action.
-
Constructor Details
-
PaymentMethodInfoInterfaceSetMessagePayloadBuilder
public PaymentMethodInfoInterfaceSetMessagePayloadBuilder()
-
-
Method Details
-
_interface
Payment interface of the Payment Method after the Set MethodInfo Interface update action.
- Parameters:
_interface
- value to be set- Returns:
- Builder
-
oldInterface
public PaymentMethodInfoInterfaceSetMessagePayloadBuilder oldInterface(@Nullable String oldInterface) Payment interface of the Payment Method before the Set MethodInfo Interface update action.
- Parameters:
oldInterface
- value to be set- Returns:
- Builder
-
getInterface
Payment interface of the Payment Method after the Set MethodInfo Interface update action.
- Returns:
- interface
-
getOldInterface
Payment interface of the Payment Method before the Set MethodInfo Interface update action.
- Returns:
- oldInterface
-
build
builds PaymentMethodInfoInterfaceSetMessagePayload with checking for non-null required values- Specified by:
build
in interfaceBuilder<PaymentMethodInfoInterfaceSetMessagePayload>
- Returns:
- PaymentMethodInfoInterfaceSetMessagePayload
-
buildUnchecked
builds PaymentMethodInfoInterfaceSetMessagePayload without checking for non-null required values- Returns:
- PaymentMethodInfoInterfaceSetMessagePayload
-
of
factory method for an instance of PaymentMethodInfoInterfaceSetMessagePayloadBuilder- Returns:
- builder
-
of
public static PaymentMethodInfoInterfaceSetMessagePayloadBuilder of(PaymentMethodInfoInterfaceSetMessagePayload template) create builder for PaymentMethodInfoInterfaceSetMessagePayload instance- Parameters:
template
- instance with prefilled values for the builder- Returns:
- builder
-