Interface PaymentSetStatusInterfaceTextAction
- All Superinterfaces:
PaymentUpdateAction
,ResourceUpdateAction<PaymentUpdateAction>
PaymentSetStatusInterfaceTextAction
Example to create an instance using the builder pattern
Example to create an instance using the builder pattern
PaymentSetStatusInterfaceTextAction paymentSetStatusInterfaceTextAction = PaymentSetStatusInterfaceTextAction.builder()
.interfaceText("{interfaceText}")
.build()
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
discriminator value for PaymentSetStatusInterfaceTextAction -
Method Summary
Modifier and TypeMethodDescriptionbuilder()
builder factory method for PaymentSetStatusInterfaceTextActionbuilder
(PaymentSetStatusInterfaceTextAction template) create builder for PaymentSetStatusInterfaceTextAction instancedeepCopy
(PaymentSetStatusInterfaceTextAction template) factory method to create a deep copy of PaymentSetStatusInterfaceTextAction@NotNull String
Value to set.of()
factory methodof
(PaymentSetStatusInterfaceTextAction template) factory method to create a shallow copy PaymentSetStatusInterfaceTextActionvoid
setInterfaceText
(String interfaceText) Value to set.static com.fasterxml.jackson.core.type.TypeReference<PaymentSetStatusInterfaceTextAction>
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
-
SET_STATUS_INTERFACE_TEXT
discriminator value for PaymentSetStatusInterfaceTextAction- See Also:
-
-
Method Details
-
getInterfaceText
Value to set. If empty, any existing value will be removed.
- Returns:
- interfaceText
-
setInterfaceText
Value to set. If empty, any existing value will be removed.
- Parameters:
interfaceText
- value to be set
-
of
factory method- Returns:
- instance of PaymentSetStatusInterfaceTextAction
-
of
factory method to create a shallow copy PaymentSetStatusInterfaceTextAction- Parameters:
template
- instance to be copied- Returns:
- copy instance
-
deepCopy
@Nullable static PaymentSetStatusInterfaceTextAction deepCopy(@Nullable PaymentSetStatusInterfaceTextAction template) factory method to create a deep copy of PaymentSetStatusInterfaceTextAction- Parameters:
template
- instance to be copied- Returns:
- copy instance
-
builder
builder factory method for PaymentSetStatusInterfaceTextAction- Returns:
- builder
-
builder
static PaymentSetStatusInterfaceTextActionBuilder builder(PaymentSetStatusInterfaceTextAction template) create builder for PaymentSetStatusInterfaceTextAction instance- Parameters:
template
- instance with prefilled values for the builder- Returns:
- builder
-
withPaymentSetStatusInterfaceTextAction
default <T> T withPaymentSetStatusInterfaceTextAction(Function<PaymentSetStatusInterfaceTextAction, 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<PaymentSetStatusInterfaceTextAction> typeReference()gives a TypeReference for usage with Jackson DataBind- Returns:
- TypeReference
-