Interface PaymentStatusInterfaceCodeSetMessagePayload
- All Superinterfaces:
MessagePayload
,MessagePayloadMixin
Generated after a successful Set StatusInterfaceCode update action.
Example to create an instance using the builder pattern
PaymentStatusInterfaceCodeSetMessagePayload paymentStatusInterfaceCodeSetMessagePayload = PaymentStatusInterfaceCodeSetMessagePayload.builder()
.paymentId("{paymentId}")
.build()
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
discriminator value for PaymentStatusInterfaceCodeSetMessagePayload -
Method Summary
Modifier and TypeMethodDescriptionbuilder()
builder factory method for PaymentStatusInterfaceCodeSetMessagePayloadcreate builder for PaymentStatusInterfaceCodeSetMessagePayload instancefactory method to create a deep copy of PaymentStatusInterfaceCodeSetMessagePayloadTheinterfaceCode
that was set during the Set StatusInterfaceCode update action.of()
factory methodfactory method to create a shallow copy PaymentStatusInterfaceCodeSetMessagePayloadvoid
setInterfaceCode
(String interfaceCode) TheinterfaceCode
that was set during the Set StatusInterfaceCode update action.static com.fasterxml.jackson.core.type.TypeReference<PaymentStatusInterfaceCodeSetMessagePayload>
gives a TypeReference for usage with Jackson DataBinddefault <T> T
withPaymentStatusInterfaceCodeSetMessagePayload
(Function<PaymentStatusInterfaceCodeSetMessagePayload, 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_STATUS_INTERFACE_CODE_SET
discriminator value for PaymentStatusInterfaceCodeSetMessagePayload- See Also:
-
-
Method Details
-
getInterfaceCode
String getInterfaceCode()The
interfaceCode
that was set during the Set StatusInterfaceCode update action.- Returns:
- interfaceCode
-
setInterfaceCode
The
interfaceCode
that was set during the Set StatusInterfaceCode update action.- Parameters:
interfaceCode
- value to be set
-
of
factory method- Returns:
- instance of PaymentStatusInterfaceCodeSetMessagePayload
-
of
static PaymentStatusInterfaceCodeSetMessagePayload of(PaymentStatusInterfaceCodeSetMessagePayload template) factory method to create a shallow copy PaymentStatusInterfaceCodeSetMessagePayload- Parameters:
template
- instance to be copied- Returns:
- copy instance
-
deepCopy
@Nullable static PaymentStatusInterfaceCodeSetMessagePayload deepCopy(@Nullable PaymentStatusInterfaceCodeSetMessagePayload template) factory method to create a deep copy of PaymentStatusInterfaceCodeSetMessagePayload- Parameters:
template
- instance to be copied- Returns:
- copy instance
-
builder
builder factory method for PaymentStatusInterfaceCodeSetMessagePayload- Returns:
- builder
-
builder
static PaymentStatusInterfaceCodeSetMessagePayloadBuilder builder(PaymentStatusInterfaceCodeSetMessagePayload template) create builder for PaymentStatusInterfaceCodeSetMessagePayload instance- Parameters:
template
- instance with prefilled values for the builder- Returns:
- builder
-
withPaymentStatusInterfaceCodeSetMessagePayload
default <T> T withPaymentStatusInterfaceCodeSetMessagePayload(Function<PaymentStatusInterfaceCodeSetMessagePayload, 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<PaymentStatusInterfaceCodeSetMessagePayload> typeReference()gives a TypeReference for usage with Jackson DataBind- Returns:
- TypeReference
-