Class PaymentTransactionStateChangedMessagePayloadBuilder
java.lang.Object
com.commercetools.api.models.message.PaymentTransactionStateChangedMessagePayloadBuilder
- All Implemented Interfaces:
- Builder<PaymentTransactionStateChangedMessagePayload>
public class PaymentTransactionStateChangedMessagePayloadBuilder
extends Object
implements Builder<PaymentTransactionStateChangedMessagePayload>
PaymentTransactionStateChangedMessagePayloadBuilder
 
Example to create an instance using the builder pattern
 
Example to create an instance using the builder pattern
     PaymentTransactionStateChangedMessagePayload paymentTransactionStateChangedMessagePayload = PaymentTransactionStateChangedMessagePayload.builder()
             .transactionId("{transactionId}")
             .state(TransactionState.INITIAL)
             .build()
 - 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionbuild()builds PaymentTransactionStateChangedMessagePayload with checking for non-null required valuesbuilds PaymentTransactionStateChangedMessagePayload without checking for non-null required valuesgetState()Transaction State after the Change Transaction State update action.Unique identifier for the Transaction for which the Transaction State changed.of()factory method for an instance of PaymentTransactionStateChangedMessagePayloadBuildercreate builder for PaymentTransactionStateChangedMessagePayload instancestate(TransactionState state) Transaction State after the Change Transaction State update action.transactionId(String transactionId) Unique identifier for the Transaction for which the Transaction State changed.
- 
Constructor Details- 
PaymentTransactionStateChangedMessagePayloadBuilderpublic PaymentTransactionStateChangedMessagePayloadBuilder()
 
- 
- 
Method Details- 
transactionIdUnique identifier for the Transaction for which the Transaction State changed. - Parameters:
- transactionId- value to be set
- Returns:
- Builder
 
- 
stateTransaction State after the Change Transaction State update action. - Parameters:
- state- value to be set
- Returns:
- Builder
 
- 
getTransactionIdUnique identifier for the Transaction for which the Transaction State changed. - Returns:
- transactionId
 
- 
getStateTransaction State after the Change Transaction State update action. - Returns:
- state
 
- 
buildbuilds PaymentTransactionStateChangedMessagePayload with checking for non-null required values- Specified by:
- buildin interface- Builder<PaymentTransactionStateChangedMessagePayload>
- Returns:
- PaymentTransactionStateChangedMessagePayload
 
- 
buildUncheckedbuilds PaymentTransactionStateChangedMessagePayload without checking for non-null required values- Returns:
- PaymentTransactionStateChangedMessagePayload
 
- 
offactory method for an instance of PaymentTransactionStateChangedMessagePayloadBuilder- Returns:
- builder
 
- 
ofpublic static PaymentTransactionStateChangedMessagePayloadBuilder of(PaymentTransactionStateChangedMessagePayload template) create builder for PaymentTransactionStateChangedMessagePayload instance- Parameters:
- template- instance with prefilled values for the builder
- Returns:
- builder
 
 
-