Interface RecurringOrderSetKeyAction
- All Superinterfaces:
RecurringOrderUpdateAction
This update action generates the RecurringOrderKeySet Message.
Example to create an instance using the builder pattern
RecurringOrderSetKeyAction recurringOrderSetKeyAction = RecurringOrderSetKeyAction.builder()
.build()
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionbuilder()builder factory method for RecurringOrderSetKeyActionbuilder(RecurringOrderSetKeyAction template) create builder for RecurringOrderSetKeyAction instancecopyDeep()static RecurringOrderSetKeyActiondeepCopy(RecurringOrderSetKeyAction template) factory method to create a deep copy of RecurringOrderSetKeyActiongetKey()Value to set.static RecurringOrderSetKeyActionof()factory methodstatic RecurringOrderSetKeyActionof(RecurringOrderSetKeyAction template) factory method to create a shallow copy RecurringOrderSetKeyActionvoidValue to set.static com.fasterxml.jackson.core.type.TypeReference<RecurringOrderSetKeyAction>gives a TypeReference for usage with Jackson DataBinddefault <T> Taccessor map functionMethods inherited from interface com.commercetools.api.models.recurring_order.RecurringOrderUpdateAction
getAction, withRecurringOrderUpdateAction
-
Field Details
-
SET_KEY
discriminator value for RecurringOrderSetKeyAction- See Also:
-
-
Method Details
-
getKey
String getKey()Value to set. If empty, any existing key will be removed.
- Returns:
- key
-
setKey
Value to set. If empty, any existing key will be removed.
- Parameters:
key- value to be set
-
of
factory method- Returns:
- instance of RecurringOrderSetKeyAction
-
of
factory method to create a shallow copy RecurringOrderSetKeyAction- Parameters:
template- instance to be copied- Returns:
- copy instance
-
copyDeep
RecurringOrderSetKeyAction copyDeep()- Specified by:
copyDeepin interfaceRecurringOrderUpdateAction
-
deepCopy
factory method to create a deep copy of RecurringOrderSetKeyAction- Parameters:
template- instance to be copied- Returns:
- copy instance
-
builder
builder factory method for RecurringOrderSetKeyAction- Returns:
- builder
-
builder
create builder for RecurringOrderSetKeyAction instance- Parameters:
template- instance with prefilled values for the builder- Returns:
- builder
-
withRecurringOrderSetKeyAction
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
-