Class MyTransactionDraftBuilder

java.lang.Object
com.commercetools.api.models.me.MyTransactionDraftBuilder
All Implemented Interfaces:
Builder<MyTransactionDraft>

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

     MyTransactionDraft myTransactionDraft = MyTransactionDraft.builder()
             .type(TransactionType.AUTHORIZATION)
             .amount(amountBuilder -> amountBuilder)
             .build()