Interface PaymentSetStatusInterfaceCodeAction
- All Superinterfaces:
PaymentUpdateAction,ResourceUpdateAction<PaymentUpdateAction>
Produces the PaymentStatusInterfaceCodeSet Message.
Example to create an instance using the builder pattern
PaymentSetStatusInterfaceCodeAction paymentSetStatusInterfaceCodeAction = PaymentSetStatusInterfaceCodeAction.builder()
.build()
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Stringdiscriminator value for PaymentSetStatusInterfaceCodeAction -
Method Summary
Modifier and TypeMethodDescriptionbuilder()builder factory method for PaymentSetStatusInterfaceCodeActionbuilder(PaymentSetStatusInterfaceCodeAction template) create builder for PaymentSetStatusInterfaceCodeAction instancecopyDeep()deepCopy(PaymentSetStatusInterfaceCodeAction template) factory method to create a deep copy of PaymentSetStatusInterfaceCodeActionValue to set.of()factory methodof(PaymentSetStatusInterfaceCodeAction template) factory method to create a shallow copy PaymentSetStatusInterfaceCodeActionvoidsetInterfaceCode(String interfaceCode) Value to set.static com.fasterxml.jackson.core.type.TypeReference<PaymentSetStatusInterfaceCodeAction>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
-
SET_STATUS_INTERFACE_CODE
discriminator value for PaymentSetStatusInterfaceCodeAction- See Also:
-
-
Method Details
-
getInterfaceCode
String getInterfaceCode()Value to set. If empty, any existing value will be removed.
- Returns:
- interfaceCode
-
setInterfaceCode
Value to set. If empty, any existing value will be removed.
- Parameters:
interfaceCode- value to be set
-
of
factory method- Returns:
- instance of PaymentSetStatusInterfaceCodeAction
-
of
factory method to create a shallow copy PaymentSetStatusInterfaceCodeAction- Parameters:
template- instance to be copied- Returns:
- copy instance
-
copyDeep
PaymentSetStatusInterfaceCodeAction copyDeep()- Specified by:
copyDeepin interfacePaymentUpdateAction
-
deepCopy
@Nullable static PaymentSetStatusInterfaceCodeAction deepCopy(@Nullable PaymentSetStatusInterfaceCodeAction template) factory method to create a deep copy of PaymentSetStatusInterfaceCodeAction- Parameters:
template- instance to be copied- Returns:
- copy instance
-
builder
builder factory method for PaymentSetStatusInterfaceCodeAction- Returns:
- builder
-
builder
static PaymentSetStatusInterfaceCodeActionBuilder builder(PaymentSetStatusInterfaceCodeAction template) create builder for PaymentSetStatusInterfaceCodeAction instance- Parameters:
template- instance with prefilled values for the builder- Returns:
- builder
-
withPaymentSetStatusInterfaceCodeAction
default <T> T withPaymentSetStatusInterfaceCodeAction(Function<PaymentSetStatusInterfaceCodeAction, 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<PaymentSetStatusInterfaceCodeAction> typeReference()gives a TypeReference for usage with Jackson DataBind- Returns:
- TypeReference
-