Class PaymentDraftBuilder

java.lang.Object
com.commercetools.api.models.payment.PaymentDraftBuilder
All Implemented Interfaces:
PaymentDraftBuilderMixin, Builder<PaymentDraft>

public class PaymentDraftBuilder extends Object implements Builder<PaymentDraft>, PaymentDraftBuilderMixin
PaymentDraftBuilder
Example to create an instance using the builder pattern

     PaymentDraft paymentDraft = PaymentDraft.builder()
             .amountPlanned(amountPlannedBuilder -> amountPlannedBuilder)
             .build()