Class RecurringPaymentAllocationBuilder

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

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

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