Class CartRemoveRecurringPaymentAllocationActionBuilder
java.lang.Object
com.commercetools.api.models.cart.CartRemoveRecurringPaymentAllocationActionBuilder
- All Implemented Interfaces:
Builder<CartRemoveRecurringPaymentAllocationAction>
public class CartRemoveRecurringPaymentAllocationActionBuilder
extends Object
implements Builder<CartRemoveRecurringPaymentAllocationAction>
CartRemoveRecurringPaymentAllocationActionBuilder
Example to create an instance using the builder pattern
Example to create an instance using the builder pattern
CartRemoveRecurringPaymentAllocationAction cartRemoveRecurringPaymentAllocationAction = CartRemoveRecurringPaymentAllocationAction.builder()
.id("{id}")
.build()
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()builds CartRemoveRecurringPaymentAllocationAction with checking for non-null required valuesbuilds CartRemoveRecurringPaymentAllocationAction without checking for non-null required valuesgetId()idof the RecurringPaymentAllocation to remove.idof the RecurringPaymentAllocation to remove.of()factory method for an instance of CartRemoveRecurringPaymentAllocationActionBuilderof(CartRemoveRecurringPaymentAllocationAction template) create builder for CartRemoveRecurringPaymentAllocationAction instance
-
Constructor Details
-
CartRemoveRecurringPaymentAllocationActionBuilder
public CartRemoveRecurringPaymentAllocationActionBuilder()
-
-
Method Details
-
id
idof the RecurringPaymentAllocation to remove.- Parameters:
id- value to be set- Returns:
- Builder
-
getId
idof the RecurringPaymentAllocation to remove.- Returns:
- id
-
build
builds CartRemoveRecurringPaymentAllocationAction with checking for non-null required values- Specified by:
buildin interfaceBuilder<CartRemoveRecurringPaymentAllocationAction>- Returns:
- CartRemoveRecurringPaymentAllocationAction
-
buildUnchecked
builds CartRemoveRecurringPaymentAllocationAction without checking for non-null required values- Returns:
- CartRemoveRecurringPaymentAllocationAction
-
of
factory method for an instance of CartRemoveRecurringPaymentAllocationActionBuilder- Returns:
- builder
-
of
public static CartRemoveRecurringPaymentAllocationActionBuilder of(CartRemoveRecurringPaymentAllocationAction template) create builder for CartRemoveRecurringPaymentAllocationAction instance- Parameters:
template- instance with prefilled values for the builder- Returns:
- builder
-