Interface PaymentMethodInfoMethodSetMessagePayload
- All Superinterfaces:
MessagePayload,MessagePayloadMixin
Generated after a successful Set MethodInfo Method update action.
Example to create an instance using the builder pattern
PaymentMethodInfoMethodSetMessagePayload paymentMethodInfoMethodSetMessagePayload = PaymentMethodInfoMethodSetMessagePayload.builder()
.build()
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Stringdiscriminator value for PaymentMethodInfoMethodSetMessagePayload -
Method Summary
Modifier and TypeMethodDescriptionbuilder()builder factory method for PaymentMethodInfoMethodSetMessagePayloadcreate builder for PaymentMethodInfoMethodSetMessagePayload instancecopyDeep()factory method to create a deep copy of PaymentMethodInfoMethodSetMessagePayloadPayment Method after the Set MethodInfo Method update action.Payment Method before the Set MethodInfo Method update action.of()factory methodof(PaymentMethodInfoMethodSetMessagePayload template) factory method to create a shallow copy PaymentMethodInfoMethodSetMessagePayloadvoidPayment Method after the Set MethodInfo Method update action.voidsetOldMethod(String oldMethod) Payment Method before the Set MethodInfo Method update action.static com.fasterxml.jackson.core.type.TypeReference<PaymentMethodInfoMethodSetMessagePayload>gives a TypeReference for usage with Jackson DataBinddefault <T> TwithPaymentMethodInfoMethodSetMessagePayload(Function<PaymentMethodInfoMethodSetMessagePayload, 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_METHOD_SET
discriminator value for PaymentMethodInfoMethodSetMessagePayload- See Also:
-
-
Method Details
-
getMethod
String getMethod()Payment Method after the Set MethodInfo Method update action.
- Returns:
- method
-
getOldMethod
String getOldMethod()Payment Method before the Set MethodInfo Method update action.
- Returns:
- oldMethod
-
setMethod
Payment Method after the Set MethodInfo Method update action.
- Parameters:
method- value to be set
-
setOldMethod
Payment Method before the Set MethodInfo Method update action.
- Parameters:
oldMethod- value to be set
-
of
factory method- Returns:
- instance of PaymentMethodInfoMethodSetMessagePayload
-
of
static PaymentMethodInfoMethodSetMessagePayload of(PaymentMethodInfoMethodSetMessagePayload template) factory method to create a shallow copy PaymentMethodInfoMethodSetMessagePayload- Parameters:
template- instance to be copied- Returns:
- copy instance
-
copyDeep
PaymentMethodInfoMethodSetMessagePayload copyDeep()- Specified by:
copyDeepin interfaceMessagePayload
-
deepCopy
@Nullable static PaymentMethodInfoMethodSetMessagePayload deepCopy(@Nullable PaymentMethodInfoMethodSetMessagePayload template) factory method to create a deep copy of PaymentMethodInfoMethodSetMessagePayload- Parameters:
template- instance to be copied- Returns:
- copy instance
-
builder
builder factory method for PaymentMethodInfoMethodSetMessagePayload- Returns:
- builder
-
builder
static PaymentMethodInfoMethodSetMessagePayloadBuilder builder(PaymentMethodInfoMethodSetMessagePayload template) create builder for PaymentMethodInfoMethodSetMessagePayload instance- Parameters:
template- instance with prefilled values for the builder- Returns:
- builder
-
withPaymentMethodInfoMethodSetMessagePayload
default <T> T withPaymentMethodInfoMethodSetMessagePayload(Function<PaymentMethodInfoMethodSetMessagePayload, 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<PaymentMethodInfoMethodSetMessagePayload> typeReference()gives a TypeReference for usage with Jackson DataBind- Returns:
- TypeReference
-