Interface PaymentMethodInfoInterfaceAccountSetMessagePayload
- All Superinterfaces:
MessagePayload,MessagePayloadMixin
Generated after a successful Set MethodInfo InterfaceAccount update action on Payments and Set MethodInfo InterfaceAccount update action on My Payments.
Example to create an instance using the builder pattern
PaymentMethodInfoInterfaceAccountSetMessagePayload paymentMethodInfoInterfaceAccountSetMessagePayload = PaymentMethodInfoInterfaceAccountSetMessagePayload.builder()
.build()
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Stringdiscriminator value for PaymentMethodInfoInterfaceAccountSetMessagePayload -
Method Summary
Modifier and TypeMethodDescriptionbuilder()builder factory method for PaymentMethodInfoInterfaceAccountSetMessagePayloadcreate builder for PaymentMethodInfoInterfaceAccountSetMessagePayload instancecopyDeep()factory method to create a deep copy of PaymentMethodInfoInterfaceAccountSetMessagePayloadInterface account of the Payment Method after the Set MethodInfo InterfaceAccount update action.Interface account of the Payment Method before the Set MethodInfo InterfaceAccount update action.of()factory methodfactory method to create a shallow copy PaymentMethodInfoInterfaceAccountSetMessagePayloadvoidsetInterfaceAccount(String interfaceAccount) Interface account of the Payment Method after the Set MethodInfo InterfaceAccount update action.voidsetOldInterfaceAccount(String oldInterfaceAccount) Interface account of the Payment Method before the Set MethodInfo InterfaceAccount update action.static com.fasterxml.jackson.core.type.TypeReference<PaymentMethodInfoInterfaceAccountSetMessagePayload>gives a TypeReference for usage with Jackson DataBinddefault <T> TwithPaymentMethodInfoInterfaceAccountSetMessagePayload(Function<PaymentMethodInfoInterfaceAccountSetMessagePayload, 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_INFO_INTERFACE_ACCOUNT_SET
discriminator value for PaymentMethodInfoInterfaceAccountSetMessagePayload- See Also:
-
-
Method Details
-
getInterfaceAccount
String getInterfaceAccount()Interface account of the Payment Method after the Set MethodInfo InterfaceAccount update action.
- Returns:
- interfaceAccount
-
getOldInterfaceAccount
String getOldInterfaceAccount()Interface account of the Payment Method before the Set MethodInfo InterfaceAccount update action.
- Returns:
- oldInterfaceAccount
-
setInterfaceAccount
Interface account of the Payment Method after the Set MethodInfo InterfaceAccount update action.
- Parameters:
interfaceAccount- value to be set
-
setOldInterfaceAccount
Interface account of the Payment Method before the Set MethodInfo InterfaceAccount update action.
- Parameters:
oldInterfaceAccount- value to be set
-
of
factory method- Returns:
- instance of PaymentMethodInfoInterfaceAccountSetMessagePayload
-
of
static PaymentMethodInfoInterfaceAccountSetMessagePayload of(PaymentMethodInfoInterfaceAccountSetMessagePayload template) factory method to create a shallow copy PaymentMethodInfoInterfaceAccountSetMessagePayload- Parameters:
template- instance to be copied- Returns:
- copy instance
-
copyDeep
- Specified by:
copyDeepin interfaceMessagePayload
-
deepCopy
@Nullable static PaymentMethodInfoInterfaceAccountSetMessagePayload deepCopy(@Nullable PaymentMethodInfoInterfaceAccountSetMessagePayload template) factory method to create a deep copy of PaymentMethodInfoInterfaceAccountSetMessagePayload- Parameters:
template- instance to be copied- Returns:
- copy instance
-
builder
builder factory method for PaymentMethodInfoInterfaceAccountSetMessagePayload- Returns:
- builder
-
builder
static PaymentMethodInfoInterfaceAccountSetMessagePayloadBuilder builder(PaymentMethodInfoInterfaceAccountSetMessagePayload template) create builder for PaymentMethodInfoInterfaceAccountSetMessagePayload instance- Parameters:
template- instance with prefilled values for the builder- Returns:
- builder
-
withPaymentMethodInfoInterfaceAccountSetMessagePayload
default <T> T withPaymentMethodInfoInterfaceAccountSetMessagePayload(Function<PaymentMethodInfoInterfaceAccountSetMessagePayload, 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<PaymentMethodInfoInterfaceAccountSetMessagePayload> typeReference()gives a TypeReference for usage with Jackson DataBind- Returns:
- TypeReference
-