Class PaymentInterfaceIdSetMessagePayloadBuilder
java.lang.Object
com.commercetools.api.models.message.PaymentInterfaceIdSetMessagePayloadBuilder
- All Implemented Interfaces:
Builder<PaymentInterfaceIdSetMessagePayload>
public class PaymentInterfaceIdSetMessagePayloadBuilder
extends Object
implements Builder<PaymentInterfaceIdSetMessagePayload>
PaymentInterfaceIdSetMessagePayloadBuilder
Example to create an instance using the builder pattern
Example to create an instance using the builder pattern
PaymentInterfaceIdSetMessagePayload paymentInterfaceIdSetMessagePayload = PaymentInterfaceIdSetMessagePayload.builder()
.build()
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()
builds PaymentInterfaceIdSetMessagePayload with checking for non-null required valuesbuilds PaymentInterfaceIdSetMessagePayload without checking for non-null required valuesInterface ID of the Payment after the Set InterfaceId update action.Interface ID of the Payment before the Set InterfaceId update action.interfaceId
(String interfaceId) Interface ID of the Payment after the Set InterfaceId update action.of()
factory method for an instance of PaymentInterfaceIdSetMessagePayloadBuilderof
(PaymentInterfaceIdSetMessagePayload template) create builder for PaymentInterfaceIdSetMessagePayload instanceoldInterfaceId
(String oldInterfaceId) Interface ID of the Payment before the Set InterfaceId update action.
-
Constructor Details
-
PaymentInterfaceIdSetMessagePayloadBuilder
public PaymentInterfaceIdSetMessagePayloadBuilder()
-
-
Method Details
-
interfaceId
Interface ID of the Payment after the Set InterfaceId update action.
- Parameters:
interfaceId
- value to be set- Returns:
- Builder
-
oldInterfaceId
Interface ID of the Payment before the Set InterfaceId update action.
- Parameters:
oldInterfaceId
- value to be set- Returns:
- Builder
-
getInterfaceId
Interface ID of the Payment after the Set InterfaceId update action.
- Returns:
- interfaceId
-
getOldInterfaceId
Interface ID of the Payment before the Set InterfaceId update action.
- Returns:
- oldInterfaceId
-
build
builds PaymentInterfaceIdSetMessagePayload with checking for non-null required values- Specified by:
build
in interfaceBuilder<PaymentInterfaceIdSetMessagePayload>
- Returns:
- PaymentInterfaceIdSetMessagePayload
-
buildUnchecked
builds PaymentInterfaceIdSetMessagePayload without checking for non-null required values- Returns:
- PaymentInterfaceIdSetMessagePayload
-
of
factory method for an instance of PaymentInterfaceIdSetMessagePayloadBuilder- Returns:
- builder
-
of
public static PaymentInterfaceIdSetMessagePayloadBuilder of(PaymentInterfaceIdSetMessagePayload template) create builder for PaymentInterfaceIdSetMessagePayload instance- Parameters:
template
- instance with prefilled values for the builder- Returns:
- builder
-