Interface RecurringOrderReference
- All Superinterfaces:
Reference,ReferenceMixin
Reference to a RecurringOrder.
Example to create an instance using the builder pattern
RecurringOrderReference recurringOrderReference = RecurringOrderReference.builder()
.id("{id}")
.build()
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Stringdiscriminator value for RecurringOrderReference -
Method Summary
Modifier and TypeMethodDescriptionbuilder()builder factory method for RecurringOrderReferencebuilder(RecurringOrderReference template) create builder for RecurringOrderReference instancecopyDeep()static RecurringOrderReferencedeepCopy(RecurringOrderReference template) factory method to create a deep copy of RecurringOrderReference@NotNull StringgetId()Unique identifier of the referenced RecurringOrder.@Valid RecurringOrdergetObj()Contains the representation of the expanded RecurringOrder.static RecurringOrderReferenceof()factory methodstatic RecurringOrderReferenceof(RecurringOrderReference template) factory method to create a shallow copy RecurringOrderReferencevoidUnique identifier of the referenced RecurringOrder.voidsetObj(RecurringOrder obj) Contains the representation of the expanded RecurringOrder.static com.fasterxml.jackson.core.type.TypeReference<RecurringOrderReference>gives a TypeReference for usage with Jackson DataBinddefault <T> Taccessor map functionMethods inherited from interface com.commercetools.api.models.common.Reference
getTypeId, withReferenceMethods inherited from interface com.commercetools.api.models.common.ReferenceMixin
toResourceIdentifier
-
Field Details
-
RECURRING_ORDER
discriminator value for RecurringOrderReference- See Also:
-
-
Method Details
-
getObj
Contains the representation of the expanded RecurringOrder. Only present in responses to requests with Reference Expansion for RecurringOrders.
- Returns:
- obj
-
getId
Unique identifier of the referenced RecurringOrder.
- Specified by:
getIdin interfaceReference- Specified by:
getIdin interfaceReferenceMixin- Returns:
- id
-
setObj
Contains the representation of the expanded RecurringOrder. Only present in responses to requests with Reference Expansion for RecurringOrders.
- Parameters:
obj- value to be set
-
setId
Unique identifier of the referenced RecurringOrder.
-
of
factory method- Returns:
- instance of RecurringOrderReference
-
of
factory method to create a shallow copy RecurringOrderReference- Parameters:
template- instance to be copied- Returns:
- copy instance
-
copyDeep
RecurringOrderReference copyDeep() -
deepCopy
factory method to create a deep copy of RecurringOrderReference- Parameters:
template- instance to be copied- Returns:
- copy instance
-
builder
builder factory method for RecurringOrderReference- Returns:
- builder
-
builder
create builder for RecurringOrderReference instance- Parameters:
template- instance with prefilled values for the builder- Returns:
- builder
-
withRecurringOrderReference
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
-