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
FieldsModifier and TypeFieldDescriptionstatic final Stringdiscriminator value for PaymentAddInterfaceInteractionAction -
Method Summary
Modifier and TypeMethodDescriptionbuilder()builder factory method for PaymentAddInterfaceInteractionActionbuilder(PaymentAddInterfaceInteractionAction template) create builder for PaymentAddInterfaceInteractionAction instancecopyDeep()deepCopy(PaymentAddInterfaceInteractionAction template) factory method to create a deep copy of PaymentAddInterfaceInteractionAction@Valid FieldContainer@NotNull @Valid TypeResourceIdentifiergetType()ResourceIdentifier of a Type.of()factory methodof(PaymentAddInterfaceInteractionAction template) factory method to create a shallow copy PaymentAddInterfaceInteractionActionvoidsetFields(FieldContainer fields) voidResourceIdentifier of a Type.static com.fasterxml.jackson.core.type.TypeReference<PaymentAddInterfaceInteractionAction>gives a TypeReference for usage with Jackson DataBinddefault <T> Taccessor map functionMethods inherited from interface com.commercetools.api.models.payment.PaymentUpdateAction
getAction, withPaymentUpdateActionMethods 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
-
copyDeep
PaymentAddInterfaceInteractionAction copyDeep()- Specified by:
copyDeepin interfacePaymentUpdateAction
-
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
-