Interface PaymentChangeTransactionInteractionIdAction
- All Superinterfaces:
PaymentUpdateAction
,ResourceUpdateAction<PaymentUpdateAction>
PaymentChangeTransactionInteractionIdAction
Example to create an instance using the builder pattern
Example to create an instance using the builder pattern
PaymentChangeTransactionInteractionIdAction paymentChangeTransactionInteractionIdAction = PaymentChangeTransactionInteractionIdAction.builder()
.transactionId("{transactionId}")
.interactionId("{interactionId}")
.build()
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
discriminator value for PaymentChangeTransactionInteractionIdAction -
Method Summary
Modifier and TypeMethodDescriptionbuilder()
builder factory method for PaymentChangeTransactionInteractionIdActioncreate builder for PaymentChangeTransactionInteractionIdAction instancefactory method to create a deep copy of PaymentChangeTransactionInteractionIdAction@NotNull String
New value to set.@NotNull String
Unique identifier of the Transaction.of()
factory methodfactory method to create a shallow copy PaymentChangeTransactionInteractionIdActionvoid
setInteractionId
(String interactionId) New value to set.void
setTransactionId
(String transactionId) Unique identifier of the Transaction.static com.fasterxml.jackson.core.type.TypeReference<PaymentChangeTransactionInteractionIdAction>
gives a TypeReference for usage with Jackson DataBinddefault <T> T
withPaymentChangeTransactionInteractionIdAction
(Function<PaymentChangeTransactionInteractionIdAction, T> helper) accessor map functionMethods inherited from interface com.commercetools.api.models.payment.PaymentUpdateAction
getAction, withPaymentUpdateAction
Methods inherited from interface com.commercetools.api.models.ResourceUpdateAction
get
-
Field Details
-
CHANGE_TRANSACTION_INTERACTION_ID
discriminator value for PaymentChangeTransactionInteractionIdAction- See Also:
-
-
Method Details
-
getTransactionId
Unique identifier of the Transaction.
- Returns:
- transactionId
-
getInteractionId
New value to set.
- Returns:
- interactionId
-
setTransactionId
Unique identifier of the Transaction.
- Parameters:
transactionId
- value to be set
-
setInteractionId
New value to set.
- Parameters:
interactionId
- value to be set
-
of
factory method- Returns:
- instance of PaymentChangeTransactionInteractionIdAction
-
of
static PaymentChangeTransactionInteractionIdAction of(PaymentChangeTransactionInteractionIdAction template) factory method to create a shallow copy PaymentChangeTransactionInteractionIdAction- Parameters:
template
- instance to be copied- Returns:
- copy instance
-
deepCopy
@Nullable static PaymentChangeTransactionInteractionIdAction deepCopy(@Nullable PaymentChangeTransactionInteractionIdAction template) factory method to create a deep copy of PaymentChangeTransactionInteractionIdAction- Parameters:
template
- instance to be copied- Returns:
- copy instance
-
builder
builder factory method for PaymentChangeTransactionInteractionIdAction- Returns:
- builder
-
builder
static PaymentChangeTransactionInteractionIdActionBuilder builder(PaymentChangeTransactionInteractionIdAction template) create builder for PaymentChangeTransactionInteractionIdAction instance- Parameters:
template
- instance with prefilled values for the builder- Returns:
- builder
-
withPaymentChangeTransactionInteractionIdAction
default <T> T withPaymentChangeTransactionInteractionIdAction(Function<PaymentChangeTransactionInteractionIdAction, T> helper) accessor map function- Type Parameters:
T
- mapped type- Parameters:
helper
- function to map the object- Returns:
- mapped value
-
typeReference
static com.fasterxml.jackson.core.type.TypeReference<PaymentChangeTransactionInteractionIdAction> typeReference()gives a TypeReference for usage with Jackson DataBind- Returns:
- TypeReference
-