Class PaymentMethodInfoInterfaceAccountSetMessagePayloadBuilder
java.lang.Object
com.commercetools.api.models.message.PaymentMethodInfoInterfaceAccountSetMessagePayloadBuilder
- All Implemented Interfaces:
Builder<PaymentMethodInfoInterfaceAccountSetMessagePayload>
public class PaymentMethodInfoInterfaceAccountSetMessagePayloadBuilder
extends Object
implements Builder<PaymentMethodInfoInterfaceAccountSetMessagePayload>
PaymentMethodInfoInterfaceAccountSetMessagePayloadBuilder
Example to create an instance using the builder pattern
Example to create an instance using the builder pattern
PaymentMethodInfoInterfaceAccountSetMessagePayload paymentMethodInfoInterfaceAccountSetMessagePayload = PaymentMethodInfoInterfaceAccountSetMessagePayload.builder()
.build()
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()
builds PaymentMethodInfoInterfaceAccountSetMessagePayload with checking for non-null required valuesbuilds PaymentMethodInfoInterfaceAccountSetMessagePayload without checking for non-null required valuesInterface account of the Payment Method after the Set MethodInfo InterfaceAccount update action.Interface account of the Payment Method before the Set MethodInfo InterfaceAccount update action.interfaceAccount
(String interfaceAccount) Interface account of the Payment Method after the Set MethodInfo InterfaceAccount update action.of()
factory method for an instance of PaymentMethodInfoInterfaceAccountSetMessagePayloadBuildercreate builder for PaymentMethodInfoInterfaceAccountSetMessagePayload instanceoldInterfaceAccount
(String oldInterfaceAccount) Interface account of the Payment Method before the Set MethodInfo InterfaceAccount update action.
-
Constructor Details
-
PaymentMethodInfoInterfaceAccountSetMessagePayloadBuilder
public PaymentMethodInfoInterfaceAccountSetMessagePayloadBuilder()
-
-
Method Details
-
interfaceAccount
public PaymentMethodInfoInterfaceAccountSetMessagePayloadBuilder interfaceAccount(@Nullable String interfaceAccount) Interface account of the Payment Method after the Set MethodInfo InterfaceAccount update action.
- Parameters:
interfaceAccount
- value to be set- Returns:
- Builder
-
oldInterfaceAccount
public PaymentMethodInfoInterfaceAccountSetMessagePayloadBuilder oldInterfaceAccount(@Nullable String oldInterfaceAccount) Interface account of the Payment Method before the Set MethodInfo InterfaceAccount update action.
- Parameters:
oldInterfaceAccount
- value to be set- Returns:
- Builder
-
getInterfaceAccount
Interface account of the Payment Method after the Set MethodInfo InterfaceAccount update action.
- Returns:
- interfaceAccount
-
getOldInterfaceAccount
Interface account of the Payment Method before the Set MethodInfo InterfaceAccount update action.
- Returns:
- oldInterfaceAccount
-
build
builds PaymentMethodInfoInterfaceAccountSetMessagePayload with checking for non-null required values- Specified by:
build
in interfaceBuilder<PaymentMethodInfoInterfaceAccountSetMessagePayload>
- Returns:
- PaymentMethodInfoInterfaceAccountSetMessagePayload
-
buildUnchecked
builds PaymentMethodInfoInterfaceAccountSetMessagePayload without checking for non-null required values- Returns:
- PaymentMethodInfoInterfaceAccountSetMessagePayload
-
of
factory method for an instance of PaymentMethodInfoInterfaceAccountSetMessagePayloadBuilder- Returns:
- builder
-
of
public static PaymentMethodInfoInterfaceAccountSetMessagePayloadBuilder of(PaymentMethodInfoInterfaceAccountSetMessagePayload template) create builder for PaymentMethodInfoInterfaceAccountSetMessagePayload instance- Parameters:
template
- instance with prefilled values for the builder- Returns:
- builder
-