Interface PaymentAddInterfaceInteractionAction
- All Superinterfaces:
PaymentUpdateAction
,ResourceUpdateAction<PaymentUpdateAction>
Adding a Payment interaction generates the PaymentInteractionAdded Message.
Example to create an instance using the builder pattern
PaymentAddInterfaceInteractionAction paymentAddInterfaceInteractionAction = PaymentAddInterfaceInteractionAction.builder()
.type(typeBuilder -> typeBuilder)
.build()
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
discriminator value for PaymentAddInterfaceInteractionAction -
Method Summary
Modifier and TypeMethodDescriptionbuilder()
builder factory method for PaymentAddInterfaceInteractionActionbuilder
(PaymentAddInterfaceInteractionAction template) create builder for PaymentAddInterfaceInteractionAction instancedeepCopy
(PaymentAddInterfaceInteractionAction template) factory method to create a deep copy of PaymentAddInterfaceInteractionAction@Valid FieldContainer
Custom Fields as per FieldDefinitions of the Type.@NotNull @Valid TypeResourceIdentifier
getType()
ResourceIdentifier of a Type.of()
factory methodof
(PaymentAddInterfaceInteractionAction template) factory method to create a shallow copy PaymentAddInterfaceInteractionActionvoid
setFields
(FieldContainer fields) Custom Fields as per FieldDefinitions of the Type.void
ResourceIdentifier of a Type.static com.fasterxml.jackson.core.type.TypeReference<PaymentAddInterfaceInteractionAction>
gives a TypeReference for usage with Jackson DataBinddefault <T> T
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
-
ADD_INTERFACE_INTERACTION
discriminator value for PaymentAddInterfaceInteractionAction- See Also:
-
-
Method Details
-
getType
ResourceIdentifier of a Type.
- Returns:
- type
-
getFields
Custom Fields as per FieldDefinitions of the Type.
- Returns:
- fields
-
setType
ResourceIdentifier of a Type.
- Parameters:
type
- value to be set
-
setFields
Custom Fields as per FieldDefinitions of the Type.
- Parameters:
fields
- value to be set
-
of
factory method- Returns:
- instance of PaymentAddInterfaceInteractionAction
-
of
factory method to create a shallow copy PaymentAddInterfaceInteractionAction- Parameters:
template
- instance to be copied- Returns:
- copy instance
-
deepCopy
@Nullable static PaymentAddInterfaceInteractionAction deepCopy(@Nullable PaymentAddInterfaceInteractionAction template) factory method to create a deep copy of PaymentAddInterfaceInteractionAction- Parameters:
template
- instance to be copied- Returns:
- copy instance
-
builder
builder factory method for PaymentAddInterfaceInteractionAction- Returns:
- builder
-
builder
static PaymentAddInterfaceInteractionActionBuilder builder(PaymentAddInterfaceInteractionAction template) create builder for PaymentAddInterfaceInteractionAction instance- Parameters:
template
- instance with prefilled values for the builder- Returns:
- builder
-
withPaymentAddInterfaceInteractionAction
default <T> T withPaymentAddInterfaceInteractionAction(Function<PaymentAddInterfaceInteractionAction, 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<PaymentAddInterfaceInteractionAction> typeReference()gives a TypeReference for usage with Jackson DataBind- Returns:
- TypeReference
-