Interface RecurringOrdersOnly
- All Superinterfaces:
RecurringOrderScope
Cart Discounts are applied to recurring Orders.
Example to create an instance using the builder pattern
RecurringOrdersOnly recurringOrdersOnly = RecurringOrdersOnly.builder()
.build()
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionstatic RecurringOrdersOnlyBuilderbuilder()builder factory method for RecurringOrdersOnlystatic RecurringOrdersOnlyBuilderbuilder(RecurringOrdersOnly template) create builder for RecurringOrdersOnly instancecopyDeep()static RecurringOrdersOnlydeepCopy(RecurringOrdersOnly template) factory method to create a deep copy of RecurringOrdersOnlystatic RecurringOrdersOnlyof()factory methodstatic RecurringOrdersOnlyof(RecurringOrdersOnly template) factory method to create a shallow copy RecurringOrdersOnlystatic com.fasterxml.jackson.core.type.TypeReference<RecurringOrdersOnly>gives a TypeReference for usage with Jackson DataBinddefault <T> TwithRecurringOrdersOnly(Function<RecurringOrdersOnly, T> helper) accessor map functionMethods inherited from interface com.commercetools.api.models.recurring_order.RecurringOrderScope
getType, withRecurringOrderScope
-
Field Details
-
RECURRING_ORDERS_ONLY
discriminator value for RecurringOrdersOnly- See Also:
-
-
Method Details
-
of
factory method- Returns:
- instance of RecurringOrdersOnly
-
of
factory method to create a shallow copy RecurringOrdersOnly- Parameters:
template- instance to be copied- Returns:
- copy instance
-
copyDeep
RecurringOrdersOnly copyDeep()- Specified by:
copyDeepin interfaceRecurringOrderScope
-
deepCopy
factory method to create a deep copy of RecurringOrdersOnly- Parameters:
template- instance to be copied- Returns:
- copy instance
-
builder
builder factory method for RecurringOrdersOnly- Returns:
- builder
-
builder
create builder for RecurringOrdersOnly instance- Parameters:
template- instance with prefilled values for the builder- Returns:
- builder
-
withRecurringOrdersOnly
accessor map function- Type Parameters:
T- mapped type- Parameters:
helper- function to map the object- Returns:
- mapped value
-
typeReference
gives a TypeReference for usage with Jackson DataBind- Returns:
- TypeReference
-