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
FieldsModifier and TypeFieldDescriptionstatic final Stringdiscriminator value for PaymentChangeTransactionInteractionIdAction -
Method Summary
Modifier and TypeMethodDescriptionbuilder()builder factory method for PaymentChangeTransactionInteractionIdActioncreate builder for PaymentChangeTransactionInteractionIdAction instancecopyDeep()factory method to create a deep copy of PaymentChangeTransactionInteractionIdAction@NotNull StringNew value to set.@NotNull StringUnique identifier of the Transaction.of()factory methodfactory method to create a shallow copy PaymentChangeTransactionInteractionIdActionvoidsetInteractionId(String interactionId) New value to set.voidsetTransactionId(String transactionId) Unique identifier of the Transaction.static com.fasterxml.jackson.core.type.TypeReference<PaymentChangeTransactionInteractionIdAction>gives a TypeReference for usage with Jackson DataBinddefault <T> TwithPaymentChangeTransactionInteractionIdAction(Function<PaymentChangeTransactionInteractionIdAction, T> helper) accessor map functionMethods inherited from interface com.commercetools.api.models.payment.PaymentUpdateAction
getAction, withPaymentUpdateActionMethods 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
-
copyDeep
PaymentChangeTransactionInteractionIdAction copyDeep()- Specified by:
copyDeepin interfacePaymentUpdateAction
-
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
-