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