Class TransactionDraftBuilder

java.lang.Object
com.commercetools.api.models.payment.TransactionDraftBuilder
All Implemented Interfaces:
Builder<TransactionDraft>

public class TransactionDraftBuilder extends Object implements Builder<TransactionDraft>
TransactionDraftBuilder
Example to create an instance using the builder pattern

     TransactionDraft transactionDraft = TransactionDraft.builder()
             .type(TransactionType.AUTHORIZATION)
             .amount(amountBuilder -> amountBuilder)
             .build()