Class PaymentTransactionAddedMessagePayloadBuilder
java.lang.Object
com.commercetools.api.models.message.PaymentTransactionAddedMessagePayloadBuilder
- All Implemented Interfaces:
- Builder<PaymentTransactionAddedMessagePayload>
public class PaymentTransactionAddedMessagePayloadBuilder
extends Object
implements Builder<PaymentTransactionAddedMessagePayload>
PaymentTransactionAddedMessagePayloadBuilder
 
Example to create an instance using the builder pattern
 
Example to create an instance using the builder pattern
     PaymentTransactionAddedMessagePayload paymentTransactionAddedMessagePayload = PaymentTransactionAddedMessagePayload.builder()
             .transaction(transactionBuilder -> transactionBuilder)
             .build()
 - 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionbuild()builds PaymentTransactionAddedMessagePayload with checking for non-null required valuesbuilds PaymentTransactionAddedMessagePayload without checking for non-null required valuesTransaction that was added to the Payment.of()factory method for an instance of PaymentTransactionAddedMessagePayloadBuilderof(PaymentTransactionAddedMessagePayload template) create builder for PaymentTransactionAddedMessagePayload instancetransaction(Transaction transaction) Transaction that was added to the Payment.Transaction that was added to the Payment.withTransaction(Function<TransactionBuilder, Transaction> builder) Transaction that was added to the Payment.
- 
Constructor Details- 
PaymentTransactionAddedMessagePayloadBuilderpublic PaymentTransactionAddedMessagePayloadBuilder()
 
- 
- 
Method Details- 
transactionpublic PaymentTransactionAddedMessagePayloadBuilder transaction(Function<TransactionBuilder, TransactionBuilder> builder) Transaction that was added to the Payment. - Parameters:
- builder- function to build the transaction value
- Returns:
- Builder
 
- 
withTransactionpublic PaymentTransactionAddedMessagePayloadBuilder withTransaction(Function<TransactionBuilder, Transaction> builder) Transaction that was added to the Payment. - Parameters:
- builder- function to build the transaction value
- Returns:
- Builder
 
- 
transactionTransaction that was added to the Payment. - Parameters:
- transaction- value to be set
- Returns:
- Builder
 
- 
getTransactionTransaction that was added to the Payment. - Returns:
- transaction
 
- 
buildbuilds PaymentTransactionAddedMessagePayload with checking for non-null required values- Specified by:
- buildin interface- Builder<PaymentTransactionAddedMessagePayload>
- Returns:
- PaymentTransactionAddedMessagePayload
 
- 
buildUncheckedbuilds PaymentTransactionAddedMessagePayload without checking for non-null required values- Returns:
- PaymentTransactionAddedMessagePayload
 
- 
offactory method for an instance of PaymentTransactionAddedMessagePayloadBuilder- Returns:
- builder
 
- 
ofpublic static PaymentTransactionAddedMessagePayloadBuilder of(PaymentTransactionAddedMessagePayload template) create builder for PaymentTransactionAddedMessagePayload instance- Parameters:
- template- instance with prefilled values for the builder
- Returns:
- builder
 
 
-