Interface PaymentMethodInterfaceAccountSetMessagePayload
- All Superinterfaces:
MessagePayload
,MessagePayloadMixin
Generated after a successful Set InterfaceAccount update action.
Example to create an instance using the builder pattern
PaymentMethodInterfaceAccountSetMessagePayload paymentMethodInterfaceAccountSetMessagePayload = PaymentMethodInterfaceAccountSetMessagePayload.builder()
.build()
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final String
discriminator value for PaymentMethodInterfaceAccountSetMessagePayload -
Method Summary
Modifier and TypeMethodDescriptionbuilder()
builder factory method for PaymentMethodInterfaceAccountSetMessagePayloadcreate builder for PaymentMethodInterfaceAccountSetMessagePayload instancecopyDeep()
factory method to create a deep copy of PaymentMethodInterfaceAccountSetMessagePayloadInterface account of the Payment Method after the Set InterfaceAccount update action.Interface account of the Payment Method before the Set InterfaceAccount update action.of()
factory methodfactory method to create a shallow copy PaymentMethodInterfaceAccountSetMessagePayloadvoid
setInterfaceAccount
(String interfaceAccount) Interface account of the Payment Method after the Set InterfaceAccount update action.void
setOldInterfaceAccount
(String oldInterfaceAccount) Interface account of the Payment Method before the Set InterfaceAccount update action.static com.fasterxml.jackson.core.type.TypeReference<PaymentMethodInterfaceAccountSetMessagePayload>
gives a TypeReference for usage with Jackson DataBinddefault <T> T
withPaymentMethodInterfaceAccountSetMessagePayload
(Function<PaymentMethodInterfaceAccountSetMessagePayload, 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_INTERFACE_ACCOUNT_SET
discriminator value for PaymentMethodInterfaceAccountSetMessagePayload- See Also:
-
-
Method Details
-
getInterfaceAccount
String getInterfaceAccount()Interface account of the Payment Method after the Set InterfaceAccount update action.
- Returns:
- interfaceAccount
-
getOldInterfaceAccount
String getOldInterfaceAccount()Interface account of the Payment Method before the Set InterfaceAccount update action.
- Returns:
- oldInterfaceAccount
-
setInterfaceAccount
Interface account of the Payment Method after the Set InterfaceAccount update action.
- Parameters:
interfaceAccount
- value to be set
-
setOldInterfaceAccount
Interface account of the Payment Method before the Set InterfaceAccount update action.
- Parameters:
oldInterfaceAccount
- value to be set
-
of
factory method- Returns:
- instance of PaymentMethodInterfaceAccountSetMessagePayload
-
of
static PaymentMethodInterfaceAccountSetMessagePayload of(PaymentMethodInterfaceAccountSetMessagePayload template) factory method to create a shallow copy PaymentMethodInterfaceAccountSetMessagePayload- Parameters:
template
- instance to be copied- Returns:
- copy instance
-
copyDeep
- Specified by:
copyDeep
in interfaceMessagePayload
-
deepCopy
@Nullable static PaymentMethodInterfaceAccountSetMessagePayload deepCopy(@Nullable PaymentMethodInterfaceAccountSetMessagePayload template) factory method to create a deep copy of PaymentMethodInterfaceAccountSetMessagePayload- Parameters:
template
- instance to be copied- Returns:
- copy instance
-
builder
builder factory method for PaymentMethodInterfaceAccountSetMessagePayload- Returns:
- builder
-
builder
static PaymentMethodInterfaceAccountSetMessagePayloadBuilder builder(PaymentMethodInterfaceAccountSetMessagePayload template) create builder for PaymentMethodInterfaceAccountSetMessagePayload instance- Parameters:
template
- instance with prefilled values for the builder- Returns:
- builder
-
withPaymentMethodInterfaceAccountSetMessagePayload
default <T> T withPaymentMethodInterfaceAccountSetMessagePayload(Function<PaymentMethodInterfaceAccountSetMessagePayload, 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<PaymentMethodInterfaceAccountSetMessagePayload> typeReference()gives a TypeReference for usage with Jackson DataBind- Returns:
- TypeReference
-