Interface PaymentMethodInfoInterfaceSetMessagePayload
- All Superinterfaces:
MessagePayload
,MessagePayloadMixin
Generated after a successful Set MethodInfo Interface update action.
Example to create an instance using the builder pattern
PaymentMethodInfoInterfaceSetMessagePayload paymentMethodInfoInterfaceSetMessagePayload = PaymentMethodInfoInterfaceSetMessagePayload.builder()
.build()
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final String
discriminator value for PaymentMethodInfoInterfaceSetMessagePayload -
Method Summary
Modifier and TypeMethodDescriptionbuilder()
builder factory method for PaymentMethodInfoInterfaceSetMessagePayloadcreate builder for PaymentMethodInfoInterfaceSetMessagePayload instancecopyDeep()
factory method to create a deep copy of PaymentMethodInfoInterfaceSetMessagePayloadPayment interface of the Payment Method after the Set MethodInfo Interface update action.Payment interface of the Payment Method before the Set MethodInfo Interface update action.of()
factory methodfactory method to create a shallow copy PaymentMethodInfoInterfaceSetMessagePayloadvoid
setInterface
(String _interface) Payment interface of the Payment Method after the Set MethodInfo Interface update action.void
setOldInterface
(String oldInterface) Payment interface of the Payment Method before the Set MethodInfo Interface update action.static com.fasterxml.jackson.core.type.TypeReference<PaymentMethodInfoInterfaceSetMessagePayload>
gives a TypeReference for usage with Jackson DataBinddefault <T> T
withPaymentMethodInfoInterfaceSetMessagePayload
(Function<PaymentMethodInfoInterfaceSetMessagePayload, T> helper) accessor map functionMethods inherited from interface com.commercetools.api.models.message.MessagePayload
getType, withMessagePayload
Methods inherited from interface com.commercetools.api.models.message.MessagePayloadMixin
as
-
Field Details
-
PAYMENT_METHOD_INFO_INTERFACE_SET
discriminator value for PaymentMethodInfoInterfaceSetMessagePayload- See Also:
-
-
Method Details
-
getInterface
String getInterface()Payment interface of the Payment Method after the Set MethodInfo Interface update action.
- Returns:
- interface
-
getOldInterface
String getOldInterface()Payment interface of the Payment Method before the Set MethodInfo Interface update action.
- Returns:
- oldInterface
-
setInterface
Payment interface of the Payment Method after the Set MethodInfo Interface update action.
- Parameters:
_interface
- value to be set
-
setOldInterface
Payment interface of the Payment Method before the Set MethodInfo Interface update action.
- Parameters:
oldInterface
- value to be set
-
of
factory method- Returns:
- instance of PaymentMethodInfoInterfaceSetMessagePayload
-
of
static PaymentMethodInfoInterfaceSetMessagePayload of(PaymentMethodInfoInterfaceSetMessagePayload template) factory method to create a shallow copy PaymentMethodInfoInterfaceSetMessagePayload- Parameters:
template
- instance to be copied- Returns:
- copy instance
-
copyDeep
PaymentMethodInfoInterfaceSetMessagePayload copyDeep()- Specified by:
copyDeep
in interfaceMessagePayload
-
deepCopy
@Nullable static PaymentMethodInfoInterfaceSetMessagePayload deepCopy(@Nullable PaymentMethodInfoInterfaceSetMessagePayload template) factory method to create a deep copy of PaymentMethodInfoInterfaceSetMessagePayload- Parameters:
template
- instance to be copied- Returns:
- copy instance
-
builder
builder factory method for PaymentMethodInfoInterfaceSetMessagePayload- Returns:
- builder
-
builder
static PaymentMethodInfoInterfaceSetMessagePayloadBuilder builder(PaymentMethodInfoInterfaceSetMessagePayload template) create builder for PaymentMethodInfoInterfaceSetMessagePayload instance- Parameters:
template
- instance with prefilled values for the builder- Returns:
- builder
-
withPaymentMethodInfoInterfaceSetMessagePayload
default <T> T withPaymentMethodInfoInterfaceSetMessagePayload(Function<PaymentMethodInfoInterfaceSetMessagePayload, 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<PaymentMethodInfoInterfaceSetMessagePayload> typeReference()gives a TypeReference for usage with Jackson DataBind- Returns:
- TypeReference
-