Interface CustomLineItemRecurrenceInfo
public interface CustomLineItemRecurrenceInfo
Information about recurring orders and frequencies.
Example to create an instance using the builder pattern
CustomLineItemRecurrenceInfo customLineItemRecurrenceInfo = CustomLineItemRecurrenceInfo.builder()
.recurrencePolicy(recurrencePolicyBuilder -> recurrencePolicyBuilder)
.build()
-
Method Summary
Modifier and TypeMethodDescriptionbuilder()
builder factory method for CustomLineItemRecurrenceInfobuilder
(CustomLineItemRecurrenceInfo template) create builder for CustomLineItemRecurrenceInfo instancecopyDeep()
static CustomLineItemRecurrenceInfo
deepCopy
(CustomLineItemRecurrenceInfo template) factory method to create a deep copy of CustomLineItemRecurrenceInfo@NotNull @Valid RecurrencePolicyReference
Reference to a RecurrencePolicy.static CustomLineItemRecurrenceInfo
of()
factory methodstatic CustomLineItemRecurrenceInfo
of
(CustomLineItemRecurrenceInfo template) factory method to create a shallow copy CustomLineItemRecurrenceInfovoid
setRecurrencePolicy
(RecurrencePolicyReference recurrencePolicy) Reference to a RecurrencePolicy.static com.fasterxml.jackson.core.type.TypeReference<CustomLineItemRecurrenceInfo>
gives a TypeReference for usage with Jackson DataBinddefault <T> T
accessor map function
-
Method Details
-
getRecurrencePolicy
Reference to a RecurrencePolicy.
- Returns:
- recurrencePolicy
-
setRecurrencePolicy
Reference to a RecurrencePolicy.
- Parameters:
recurrencePolicy
- value to be set
-
of
factory method- Returns:
- instance of CustomLineItemRecurrenceInfo
-
of
factory method to create a shallow copy CustomLineItemRecurrenceInfo- Parameters:
template
- instance to be copied- Returns:
- copy instance
-
copyDeep
CustomLineItemRecurrenceInfo copyDeep() -
deepCopy
@Nullable static CustomLineItemRecurrenceInfo deepCopy(@Nullable CustomLineItemRecurrenceInfo template) factory method to create a deep copy of CustomLineItemRecurrenceInfo- Parameters:
template
- instance to be copied- Returns:
- copy instance
-
builder
builder factory method for CustomLineItemRecurrenceInfo- Returns:
- builder
-
builder
create builder for CustomLineItemRecurrenceInfo instance- Parameters:
template
- instance with prefilled values for the builder- Returns:
- builder
-
withCustomLineItemRecurrenceInfo
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
-