Interface PaymentMethodPaymentInterfaceSetMessagePayload
- All Superinterfaces:
MessagePayload,MessagePayloadMixin
Generated after a successful Set PaymentInterface update action.
Example to create an instance using the builder pattern
PaymentMethodPaymentInterfaceSetMessagePayload paymentMethodPaymentInterfaceSetMessagePayload = PaymentMethodPaymentInterfaceSetMessagePayload.builder()
.build()
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Stringdiscriminator value for PaymentMethodPaymentInterfaceSetMessagePayload -
Method Summary
Modifier and TypeMethodDescriptionbuilder()builder factory method for PaymentMethodPaymentInterfaceSetMessagePayloadcreate builder for PaymentMethodPaymentInterfaceSetMessagePayload instancecopyDeep()factory method to create a deep copy of PaymentMethodPaymentInterfaceSetMessagePayloadPayment interface of the Payment Method before the Set PaymentInterface update action.Payment interface of the Payment Method after the Set PaymentInterface update action.of()factory methodfactory method to create a shallow copy PaymentMethodPaymentInterfaceSetMessagePayloadvoidsetOldPaymentInterface(String oldPaymentInterface) Payment interface of the Payment Method before the Set PaymentInterface update action.voidsetPaymentInterface(String paymentInterface) Payment interface of the Payment Method after the Set PaymentInterface update action.static com.fasterxml.jackson.core.type.TypeReference<PaymentMethodPaymentInterfaceSetMessagePayload>gives a TypeReference for usage with Jackson DataBinddefault <T> TwithPaymentMethodPaymentInterfaceSetMessagePayload(Function<PaymentMethodPaymentInterfaceSetMessagePayload, T> helper) accessor map functionMethods inherited from interface com.commercetools.api.models.message.MessagePayload
getType, withMessagePayloadMethods inherited from interface com.commercetools.api.models.message.MessagePayloadMixin
as
-
Field Details
-
PAYMENT_METHOD_PAYMENT_INTERFACE_SET
discriminator value for PaymentMethodPaymentInterfaceSetMessagePayload- See Also:
-
-
Method Details
-
getPaymentInterface
String getPaymentInterface()Payment interface of the Payment Method after the Set PaymentInterface update action.
- Returns:
- paymentInterface
-
getOldPaymentInterface
String getOldPaymentInterface()Payment interface of the Payment Method before the Set PaymentInterface update action.
- Returns:
- oldPaymentInterface
-
setPaymentInterface
Payment interface of the Payment Method after the Set PaymentInterface update action.
- Parameters:
paymentInterface- value to be set
-
setOldPaymentInterface
Payment interface of the Payment Method before the Set PaymentInterface update action.
- Parameters:
oldPaymentInterface- value to be set
-
of
factory method- Returns:
- instance of PaymentMethodPaymentInterfaceSetMessagePayload
-
of
static PaymentMethodPaymentInterfaceSetMessagePayload of(PaymentMethodPaymentInterfaceSetMessagePayload template) factory method to create a shallow copy PaymentMethodPaymentInterfaceSetMessagePayload- Parameters:
template- instance to be copied- Returns:
- copy instance
-
copyDeep
- Specified by:
copyDeepin interfaceMessagePayload
-
deepCopy
@Nullable static PaymentMethodPaymentInterfaceSetMessagePayload deepCopy(@Nullable PaymentMethodPaymentInterfaceSetMessagePayload template) factory method to create a deep copy of PaymentMethodPaymentInterfaceSetMessagePayload- Parameters:
template- instance to be copied- Returns:
- copy instance
-
builder
builder factory method for PaymentMethodPaymentInterfaceSetMessagePayload- Returns:
- builder
-
builder
static PaymentMethodPaymentInterfaceSetMessagePayloadBuilder builder(PaymentMethodPaymentInterfaceSetMessagePayload template) create builder for PaymentMethodPaymentInterfaceSetMessagePayload instance- Parameters:
template- instance with prefilled values for the builder- Returns:
- builder
-
withPaymentMethodPaymentInterfaceSetMessagePayload
default <T> T withPaymentMethodPaymentInterfaceSetMessagePayload(Function<PaymentMethodPaymentInterfaceSetMessagePayload, 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<PaymentMethodPaymentInterfaceSetMessagePayload> typeReference()gives a TypeReference for usage with Jackson DataBind- Returns:
- TypeReference
-