Class PaymentAllocationDraftBuilder

java.lang.Object
com.commercetools.api.models.cart.PaymentAllocationDraftBuilder
All Implemented Interfaces:
Builder<PaymentAllocationDraft>

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

     PaymentAllocationDraft paymentAllocationDraft = PaymentAllocationDraft.builder()
             .id("{id}")
             .paymentMethod(paymentMethodBuilder -> paymentMethodBuilder)
             .allocation(allocationBuilder -> allocationBuilder)
             .build()