Package com.commercetools.api.models.me
Interface MyPaymentUpdateAction
- All Superinterfaces:
ResourceUpdateAction<MyPaymentUpdateAction>
- All Known Subinterfaces:
MyPaymentAddTransactionAction
,MyPaymentChangeAmountPlannedAction
,MyPaymentSetCustomFieldAction
,MyPaymentSetMethodInfoInterfaceAction
,MyPaymentSetMethodInfoMethodAction
,MyPaymentSetMethodInfoNameAction
,MyPaymentSetTransactionCustomFieldAction
MyPaymentUpdateAction
Example to create a subtype instance using the builder pattern
Example to create a subtype instance using the builder pattern
MyPaymentUpdateAction myPaymentUpdateAction = MyPaymentUpdateAction.addTransactionBuilder()
transaction(transactionBuilder -> transactionBuilder)
.build()
-
Method Summary
Modifier and TypeMethodDescriptionbuilder for addTransaction subtypebuilder for changeAmountPlanned subtypestatic MyPaymentUpdateAction
deepCopy
(MyPaymentUpdateAction template) factory method to create a deep copy of MyPaymentUpdateAction@NotNull String
builder for setCustomField subtypebuilder for setMethodInfoInterface subtypebuilder for setMethodInfoMethod subtypebuilder for setMethodInfoName subtypebuilder for setTransactionCustomField subtypestatic com.fasterxml.jackson.core.type.TypeReference<MyPaymentUpdateAction>
gives a TypeReference for usage with Jackson DataBinddefault <T> T
accessor map functionMethods inherited from interface com.commercetools.api.models.ResourceUpdateAction
get
-
Method Details
-
getAction
- Specified by:
getAction
in interfaceResourceUpdateAction<MyPaymentUpdateAction>
- Returns:
- action
-
deepCopy
factory method to create a deep copy of MyPaymentUpdateAction- Parameters:
template
- instance to be copied- Returns:
- copy instance
-
addTransactionBuilder
builder for addTransaction subtype- Returns:
- builder
-
changeAmountPlannedBuilder
builder for changeAmountPlanned subtype- Returns:
- builder
-
setCustomFieldBuilder
builder for setCustomField subtype- Returns:
- builder
-
setMethodInfoInterfaceBuilder
builder for setMethodInfoInterface subtype- Returns:
- builder
-
setMethodInfoMethodBuilder
builder for setMethodInfoMethod subtype- Returns:
- builder
-
setMethodInfoNameBuilder
builder for setMethodInfoName subtype- Returns:
- builder
-
setTransactionCustomFieldBuilder
builder for setTransactionCustomField subtype- Returns:
- builder
-
withMyPaymentUpdateAction
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
-