Class PaymentTransactionInterfaceIdSetMessagePayloadBuilder
java.lang.Object
com.commercetools.api.models.message.PaymentTransactionInterfaceIdSetMessagePayloadBuilder
- All Implemented Interfaces:
Builder<PaymentTransactionInterfaceIdSetMessagePayload>
public class PaymentTransactionInterfaceIdSetMessagePayloadBuilder
extends Object
implements Builder<PaymentTransactionInterfaceIdSetMessagePayload>
PaymentTransactionInterfaceIdSetMessagePayloadBuilder
Example to create an instance using the builder pattern
Example to create an instance using the builder pattern
PaymentTransactionInterfaceIdSetMessagePayload paymentTransactionInterfaceIdSetMessagePayload = PaymentTransactionInterfaceIdSetMessagePayload.builder()
.transactionId("{transactionId}")
.build()
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()builds PaymentTransactionInterfaceIdSetMessagePayload with checking for non-null required valuesbuilds PaymentTransactionInterfaceIdSetMessagePayload without checking for non-null required valuesIdentifier used by the payment service that processes the Payment (for example, a PSP) after Set Transaction InterfaceId update action.Identifier used by the payment service that processes the Payment (for example, a PSP) before the Set Transaction InterfaceId update action.Unique identifier of the Transaction.newInterfaceId(String newInterfaceId) Identifier used by the payment service that processes the Payment (for example, a PSP) after Set Transaction InterfaceId update action.of()factory method for an instance of PaymentTransactionInterfaceIdSetMessagePayloadBuildercreate builder for PaymentTransactionInterfaceIdSetMessagePayload instanceoldInterfaceId(String oldInterfaceId) Identifier used by the payment service that processes the Payment (for example, a PSP) before the Set Transaction InterfaceId update action.transactionId(String transactionId) Unique identifier of the Transaction.
-
Constructor Details
-
PaymentTransactionInterfaceIdSetMessagePayloadBuilder
public PaymentTransactionInterfaceIdSetMessagePayloadBuilder()
-
-
Method Details
-
transactionId
Unique identifier of the Transaction.
- Parameters:
transactionId- value to be set- Returns:
- Builder
-
newInterfaceId
public PaymentTransactionInterfaceIdSetMessagePayloadBuilder newInterfaceId(@Nullable String newInterfaceId) Identifier used by the payment service that processes the Payment (for example, a PSP) after Set Transaction InterfaceId update action.
- Parameters:
newInterfaceId- value to be set- Returns:
- Builder
-
oldInterfaceId
public PaymentTransactionInterfaceIdSetMessagePayloadBuilder oldInterfaceId(@Nullable String oldInterfaceId) Identifier used by the payment service that processes the Payment (for example, a PSP) before the Set Transaction InterfaceId update action.
- Parameters:
oldInterfaceId- value to be set- Returns:
- Builder
-
getTransactionId
Unique identifier of the Transaction.
- Returns:
- transactionId
-
getNewInterfaceId
Identifier used by the payment service that processes the Payment (for example, a PSP) after Set Transaction InterfaceId update action.
- Returns:
- newInterfaceId
-
getOldInterfaceId
Identifier used by the payment service that processes the Payment (for example, a PSP) before the Set Transaction InterfaceId update action.
- Returns:
- oldInterfaceId
-
build
builds PaymentTransactionInterfaceIdSetMessagePayload with checking for non-null required values- Specified by:
buildin interfaceBuilder<PaymentTransactionInterfaceIdSetMessagePayload>- Returns:
- PaymentTransactionInterfaceIdSetMessagePayload
-
buildUnchecked
builds PaymentTransactionInterfaceIdSetMessagePayload without checking for non-null required values- Returns:
- PaymentTransactionInterfaceIdSetMessagePayload
-
of
factory method for an instance of PaymentTransactionInterfaceIdSetMessagePayloadBuilder- Returns:
- builder
-
of
public static PaymentTransactionInterfaceIdSetMessagePayloadBuilder of(PaymentTransactionInterfaceIdSetMessagePayload template) create builder for PaymentTransactionInterfaceIdSetMessagePayload instance- Parameters:
template- instance with prefilled values for the builder- Returns:
- builder
-