Interface PaymentMethodInfoNameSetMessagePayload
- All Superinterfaces:
MessagePayload,MessagePayloadMixin
Generated after a successful Set MethodInfo Name update action.
Example to create an instance using the builder pattern
PaymentMethodInfoNameSetMessagePayload paymentMethodInfoNameSetMessagePayload = PaymentMethodInfoNameSetMessagePayload.builder()
.build()
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Stringdiscriminator value for PaymentMethodInfoNameSetMessagePayload -
Method Summary
Modifier and TypeMethodDescriptionbuilder()builder factory method for PaymentMethodInfoNameSetMessagePayloadcreate builder for PaymentMethodInfoNameSetMessagePayload instancecopyDeep()factory method to create a deep copy of PaymentMethodInfoNameSetMessagePayload@Valid LocalizedStringgetName()Name of the Payment Method after the Set MethodInfo Name update action.@Valid LocalizedStringName of the Payment Method before the Set MethodInfo Name update action.of()factory methodof(PaymentMethodInfoNameSetMessagePayload template) factory method to create a shallow copy PaymentMethodInfoNameSetMessagePayloadvoidsetName(LocalizedString name) Name of the Payment Method after the Set MethodInfo Name update action.voidsetOldName(LocalizedString oldName) Name of the Payment Method before the Set MethodInfo Name update action.static com.fasterxml.jackson.core.type.TypeReference<PaymentMethodInfoNameSetMessagePayload>gives a TypeReference for usage with Jackson DataBinddefault <T> TwithPaymentMethodInfoNameSetMessagePayload(Function<PaymentMethodInfoNameSetMessagePayload, 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_NAME_SET
discriminator value for PaymentMethodInfoNameSetMessagePayload- See Also:
-
-
Method Details
-
getName
Name of the Payment Method after the Set MethodInfo Name update action.
- Returns:
- name
-
getOldName
Name of the Payment Method before the Set MethodInfo Name update action.
- Returns:
- oldName
-
setName
Name of the Payment Method after the Set MethodInfo Name update action.
- Parameters:
name- value to be set
-
setOldName
Name of the Payment Method before the Set MethodInfo Name update action.
- Parameters:
oldName- value to be set
-
of
factory method- Returns:
- instance of PaymentMethodInfoNameSetMessagePayload
-
of
factory method to create a shallow copy PaymentMethodInfoNameSetMessagePayload- Parameters:
template- instance to be copied- Returns:
- copy instance
-
copyDeep
PaymentMethodInfoNameSetMessagePayload copyDeep()- Specified by:
copyDeepin interfaceMessagePayload
-
deepCopy
@Nullable static PaymentMethodInfoNameSetMessagePayload deepCopy(@Nullable PaymentMethodInfoNameSetMessagePayload template) factory method to create a deep copy of PaymentMethodInfoNameSetMessagePayload- Parameters:
template- instance to be copied- Returns:
- copy instance
-
builder
builder factory method for PaymentMethodInfoNameSetMessagePayload- Returns:
- builder
-
builder
static PaymentMethodInfoNameSetMessagePayloadBuilder builder(PaymentMethodInfoNameSetMessagePayload template) create builder for PaymentMethodInfoNameSetMessagePayload instance- Parameters:
template- instance with prefilled values for the builder- Returns:
- builder
-
withPaymentMethodInfoNameSetMessagePayload
default <T> T withPaymentMethodInfoNameSetMessagePayload(Function<PaymentMethodInfoNameSetMessagePayload, 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<PaymentMethodInfoNameSetMessagePayload> typeReference()gives a TypeReference for usage with Jackson DataBind- Returns:
- TypeReference
-