Class PaymentChangeTransactionInteractionIdActionBuilder
java.lang.Object
com.commercetools.api.models.payment.PaymentChangeTransactionInteractionIdActionBuilder
- All Implemented Interfaces:
Builder<PaymentChangeTransactionInteractionIdAction>
public class PaymentChangeTransactionInteractionIdActionBuilder
extends Object
implements Builder<PaymentChangeTransactionInteractionIdAction>
PaymentChangeTransactionInteractionIdActionBuilder
Example to create an instance using the builder pattern
Example to create an instance using the builder pattern
PaymentChangeTransactionInteractionIdAction paymentChangeTransactionInteractionIdAction = PaymentChangeTransactionInteractionIdAction.builder()
.transactionId("{transactionId}")
.interactionId("{interactionId}")
.build()
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
builds PaymentChangeTransactionInteractionIdAction with checking for non-null required valuesbuilds PaymentChangeTransactionInteractionIdAction without checking for non-null required valuesNew value to set.Unique identifier of the Transaction.interactionId
(String interactionId) New value to set.of()
factory method for an instance of PaymentChangeTransactionInteractionIdActionBuildercreate builder for PaymentChangeTransactionInteractionIdAction instancetransactionId
(String transactionId) Unique identifier of the Transaction.
-
Constructor Details
-
PaymentChangeTransactionInteractionIdActionBuilder
public PaymentChangeTransactionInteractionIdActionBuilder()
-
-
Method Details
-
transactionId
Unique identifier of the Transaction.
- Parameters:
transactionId
- value to be set- Returns:
- Builder
-
interactionId
New value to set.
- Parameters:
interactionId
- value to be set- Returns:
- Builder
-
getTransactionId
Unique identifier of the Transaction.
- Returns:
- transactionId
-
getInteractionId
New value to set.
- Returns:
- interactionId
-
build
builds PaymentChangeTransactionInteractionIdAction with checking for non-null required values- Specified by:
build
in interfaceBuilder<PaymentChangeTransactionInteractionIdAction>
- Returns:
- PaymentChangeTransactionInteractionIdAction
-
buildUnchecked
builds PaymentChangeTransactionInteractionIdAction without checking for non-null required values- Returns:
- PaymentChangeTransactionInteractionIdAction
-
of
factory method for an instance of PaymentChangeTransactionInteractionIdActionBuilder- Returns:
- builder
-
of
public static PaymentChangeTransactionInteractionIdActionBuilder of(PaymentChangeTransactionInteractionIdAction template) create builder for PaymentChangeTransactionInteractionIdAction instance- Parameters:
template
- instance with prefilled values for the builder- Returns:
- builder
-