Interface CartRemoveRecurringPaymentAllocationAction
- All Superinterfaces:
CartUpdateAction,ResourceUpdateAction<CartUpdateAction>
Removes a RecurringPaymentAllocation from the paymentAllocations of the RecurringPaymentConfiguration.
Example to create an instance using the builder pattern
CartRemoveRecurringPaymentAllocationAction cartRemoveRecurringPaymentAllocationAction = CartRemoveRecurringPaymentAllocationAction.builder()
.id("{id}")
.build()
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Stringdiscriminator value for CartRemoveRecurringPaymentAllocationAction -
Method Summary
Modifier and TypeMethodDescriptionbuilder()builder factory method for CartRemoveRecurringPaymentAllocationActioncreate builder for CartRemoveRecurringPaymentAllocationAction instancecopyDeep()factory method to create a deep copy of CartRemoveRecurringPaymentAllocationAction@NotNull StringgetId()idof the RecurringPaymentAllocation to remove.of()factory methodof(CartRemoveRecurringPaymentAllocationAction template) factory method to create a shallow copy CartRemoveRecurringPaymentAllocationActionvoididof the RecurringPaymentAllocation to remove.static tools.jackson.core.type.TypeReference<CartRemoveRecurringPaymentAllocationAction>gives a TypeReference for usage with Jackson DataBinddefault <T> TwithCartRemoveRecurringPaymentAllocationAction(Function<CartRemoveRecurringPaymentAllocationAction, T> helper) accessor map functionMethods inherited from interface com.commercetools.api.models.cart.CartUpdateAction
getAction, withCartUpdateActionMethods inherited from interface com.commercetools.api.models.ResourceUpdateAction
get
-
Field Details
-
REMOVE_RECURRING_PAYMENT_ALLOCATION
discriminator value for CartRemoveRecurringPaymentAllocationAction- See Also:
-
-
Method Details
-
getId
idof the RecurringPaymentAllocation to remove.- Returns:
- id
-
setId
idof the RecurringPaymentAllocation to remove.- Parameters:
id- value to be set
-
of
factory method- Returns:
- instance of CartRemoveRecurringPaymentAllocationAction
-
of
static CartRemoveRecurringPaymentAllocationAction of(CartRemoveRecurringPaymentAllocationAction template) factory method to create a shallow copy CartRemoveRecurringPaymentAllocationAction- Parameters:
template- instance to be copied- Returns:
- copy instance
-
copyDeep
CartRemoveRecurringPaymentAllocationAction copyDeep()- Specified by:
copyDeepin interfaceCartUpdateAction
-
deepCopy
@Nullable static CartRemoveRecurringPaymentAllocationAction deepCopy(@Nullable CartRemoveRecurringPaymentAllocationAction template) factory method to create a deep copy of CartRemoveRecurringPaymentAllocationAction- Parameters:
template- instance to be copied- Returns:
- copy instance
-
builder
builder factory method for CartRemoveRecurringPaymentAllocationAction- Returns:
- builder
-
builder
static CartRemoveRecurringPaymentAllocationActionBuilder builder(CartRemoveRecurringPaymentAllocationAction template) create builder for CartRemoveRecurringPaymentAllocationAction instance- Parameters:
template- instance with prefilled values for the builder- Returns:
- builder
-
withCartRemoveRecurringPaymentAllocationAction
default <T> T withCartRemoveRecurringPaymentAllocationAction(Function<CartRemoveRecurringPaymentAllocationAction, T> helper) accessor map function- Type Parameters:
T- mapped type- Parameters:
helper- function to map the object- Returns:
- mapped value
-
typeReference
static tools.jackson.core.type.TypeReference<CartRemoveRecurringPaymentAllocationAction> typeReference()gives a TypeReference for usage with Jackson DataBind- Returns:
- TypeReference
-