Interface PaymentUpdateAction
- All Superinterfaces:
ResourceUpdateAction<PaymentUpdateAction>
- All Known Subinterfaces:
PaymentAddInterfaceInteractionAction
,PaymentAddTransactionAction
,PaymentChangeAmountPlannedAction
,PaymentChangeTransactionInteractionIdAction
,PaymentChangeTransactionStateAction
,PaymentChangeTransactionTimestampAction
,PaymentSetAnonymousIdAction
,PaymentSetCustomerAction
,PaymentSetCustomFieldAction
,PaymentSetCustomTypeAction
,PaymentSetInterfaceIdAction
,PaymentSetKeyAction
,PaymentSetMethodInfoInterfaceAction
,PaymentSetMethodInfoMethodAction
,PaymentSetMethodInfoNameAction
,PaymentSetStatusInterfaceCodeAction
,PaymentSetStatusInterfaceTextAction
,PaymentSetTransactionCustomFieldAction
,PaymentSetTransactionCustomTypeAction
,PaymentTransitionStateAction
PaymentUpdateAction
Example to create a subtype instance using the builder pattern
Example to create a subtype instance using the builder pattern
PaymentUpdateAction paymentUpdateAction = PaymentUpdateAction.addInterfaceInteractionBuilder()
type(typeBuilder -> typeBuilder)
.build()
-
Method Summary
Modifier and TypeMethodDescriptionbuilder for addInterfaceInteraction subtypebuilder for addTransaction subtypebuilder for changeAmountPlanned subtypebuilder for changeTransactionInteractionId subtypebuilder for changeTransactionState subtypebuilder for changeTransactionTimestamp subtypestatic PaymentUpdateAction
deepCopy
(PaymentUpdateAction template) factory method to create a deep copy of PaymentUpdateAction@NotNull String
builder for setAnonymousId subtypebuilder for setCustomer subtypebuilder for setCustomField subtypebuilder for setCustomType subtypebuilder for setInterfaceId subtypestatic PaymentSetKeyActionBuilder
builder for setKey subtypebuilder for setMethodInfoInterface subtypebuilder for setMethodInfoMethod subtypebuilder for setMethodInfoName subtypebuilder for setStatusInterfaceCode subtypebuilder for setStatusInterfaceText subtypebuilder for setTransactionCustomField subtypebuilder for setTransactionCustomType subtypebuilder for transitionState subtypestatic com.fasterxml.jackson.core.type.TypeReference<PaymentUpdateAction>
gives a TypeReference for usage with Jackson DataBinddefault <T> T
withPaymentUpdateAction
(Function<PaymentUpdateAction, T> helper) accessor map functionMethods inherited from interface com.commercetools.api.models.ResourceUpdateAction
get
-
Method Details
-
getAction
- Specified by:
getAction
in interfaceResourceUpdateAction<PaymentUpdateAction>
- Returns:
- action
-
deepCopy
factory method to create a deep copy of PaymentUpdateAction- Parameters:
template
- instance to be copied- Returns:
- copy instance
-
addInterfaceInteractionBuilder
builder for addInterfaceInteraction subtype- Returns:
- builder
-
addTransactionBuilder
builder for addTransaction subtype- Returns:
- builder
-
changeAmountPlannedBuilder
builder for changeAmountPlanned subtype- Returns:
- builder
-
changeTransactionInteractionIdBuilder
builder for changeTransactionInteractionId subtype- Returns:
- builder
-
changeTransactionStateBuilder
builder for changeTransactionState subtype- Returns:
- builder
-
changeTransactionTimestampBuilder
builder for changeTransactionTimestamp subtype- Returns:
- builder
-
setAnonymousIdBuilder
builder for setAnonymousId subtype- Returns:
- builder
-
setCustomFieldBuilder
builder for setCustomField subtype- Returns:
- builder
-
setCustomTypeBuilder
builder for setCustomType subtype- Returns:
- builder
-
setCustomerBuilder
builder for setCustomer subtype- Returns:
- builder
-
setInterfaceIdBuilder
builder for setInterfaceId subtype- Returns:
- builder
-
setKeyBuilder
builder for setKey subtype- Returns:
- builder
-
setMethodInfoInterfaceBuilder
builder for setMethodInfoInterface subtype- Returns:
- builder
-
setMethodInfoMethodBuilder
builder for setMethodInfoMethod subtype- Returns:
- builder
-
setMethodInfoNameBuilder
builder for setMethodInfoName subtype- Returns:
- builder
-
setStatusInterfaceCodeBuilder
builder for setStatusInterfaceCode subtype- Returns:
- builder
-
setStatusInterfaceTextBuilder
builder for setStatusInterfaceText subtype- Returns:
- builder
-
setTransactionCustomFieldBuilder
builder for setTransactionCustomField subtype- Returns:
- builder
-
setTransactionCustomTypeBuilder
builder for setTransactionCustomType subtype- Returns:
- builder
-
transitionStateBuilder
builder for transitionState subtype- Returns:
- builder
-
withPaymentUpdateAction
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
-