Interface NonRecurringOrdersOnly
- All Superinterfaces:
RecurringOrderScope
Cart Discounts are applied to non-recurring Orders.
Example to create an instance using the builder pattern
NonRecurringOrdersOnly nonRecurringOrdersOnly = NonRecurringOrdersOnly.builder()
.build()
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Stringdiscriminator value for NonRecurringOrdersOnly -
Method Summary
Modifier and TypeMethodDescriptionbuilder()builder factory method for NonRecurringOrdersOnlybuilder(NonRecurringOrdersOnly template) create builder for NonRecurringOrdersOnly instancecopyDeep()static NonRecurringOrdersOnlydeepCopy(NonRecurringOrdersOnly template) factory method to create a deep copy of NonRecurringOrdersOnlystatic NonRecurringOrdersOnlyof()factory methodstatic NonRecurringOrdersOnlyof(NonRecurringOrdersOnly template) factory method to create a shallow copy NonRecurringOrdersOnlystatic com.fasterxml.jackson.core.type.TypeReference<NonRecurringOrdersOnly>gives a TypeReference for usage with Jackson DataBinddefault <T> Taccessor map functionMethods inherited from interface com.commercetools.api.models.recurring_order.RecurringOrderScope
getType, withRecurringOrderScope
-
Field Details
-
NON_RECURRING_ORDERS_ONLY
discriminator value for NonRecurringOrdersOnly- See Also:
-
-
Method Details
-
of
factory method- Returns:
- instance of NonRecurringOrdersOnly
-
of
factory method to create a shallow copy NonRecurringOrdersOnly- Parameters:
template- instance to be copied- Returns:
- copy instance
-
copyDeep
NonRecurringOrdersOnly copyDeep()- Specified by:
copyDeepin interfaceRecurringOrderScope
-
deepCopy
factory method to create a deep copy of NonRecurringOrdersOnly- Parameters:
template- instance to be copied- Returns:
- copy instance
-
builder
builder factory method for NonRecurringOrdersOnly- Returns:
- builder
-
builder
create builder for NonRecurringOrdersOnly instance- Parameters:
template- instance with prefilled values for the builder- Returns:
- builder
-
withNonRecurringOrdersOnly
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
-