Interface PaymentMethodInfoInterfaceSetMessage
- All Superinterfaces:
BaseResource
,DomainResource<Message>
,Identifiable<Message>
,Message
,Versioned<Message>
Generated after a successful Set MethodInfo Interface update action.
Example to create an instance using the builder pattern
PaymentMethodInfoInterfaceSetMessage paymentMethodInfoInterfaceSetMessage = PaymentMethodInfoInterfaceSetMessage.builder()
.id("{id}")
.version(0.3)
.createdAt(ZonedDateTime.parse("2022-01-01T12:00:00.301Z"))
.lastModifiedAt(ZonedDateTime.parse("2022-01-01T12:00:00.301Z"))
.sequenceNumber(0.3)
.resource(resourceBuilder -> resourceBuilder)
.resourceVersion(0.3)
.build()
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final String
discriminator value for PaymentMethodInfoInterfaceSetMessage -
Method Summary
Modifier and TypeMethodDescriptionbuilder()
builder factory method for PaymentMethodInfoInterfaceSetMessagebuilder
(PaymentMethodInfoInterfaceSetMessage template) create builder for PaymentMethodInfoInterfaceSetMessage instancecopyDeep()
deepCopy
(PaymentMethodInfoInterfaceSetMessage template) factory method to create a deep copy of PaymentMethodInfoInterfaceSetMessagePayment interface of the Payment Method after the Set MethodInfo Interface update action.Payment interface of the Payment Method before the Set MethodInfo Interface update action.of()
factory methodof
(PaymentMethodInfoInterfaceSetMessage template) factory method to create a shallow copy PaymentMethodInfoInterfaceSetMessagevoid
setInterface
(String _interface) Payment interface of the Payment Method after the Set MethodInfo Interface update action.void
setOldInterface
(String oldInterface) Payment interface of the Payment Method before the Set MethodInfo Interface update action.static com.fasterxml.jackson.core.type.TypeReference<PaymentMethodInfoInterfaceSetMessage>
gives a TypeReference for usage with Jackson DataBinddefault <T> T
accessor map functionMethods inherited from interface com.commercetools.api.models.common.BaseResource
withBaseResource
Methods inherited from interface com.commercetools.api.models.DomainResource
get
Methods inherited from interface com.commercetools.api.models.message.Message
getCreatedAt, getCreatedBy, getId, getLastModifiedAt, getLastModifiedBy, getResource, getResourceUserProvidedIdentifiers, getResourceVersion, getSequenceNumber, getType, getVersion, setCreatedAt, setCreatedBy, setId, setLastModifiedAt, setLastModifiedBy, setResource, setResourceUserProvidedIdentifiers, setResourceVersion, setSequenceNumber, setVersion, withMessage
-
Field Details
-
PAYMENT_METHOD_INFO_INTERFACE_SET
discriminator value for PaymentMethodInfoInterfaceSetMessage- See Also:
-
-
Method Details
-
getInterface
String getInterface()Payment interface of the Payment Method after the Set MethodInfo Interface update action.
- Returns:
- interface
-
getOldInterface
String getOldInterface()Payment interface of the Payment Method before the Set MethodInfo Interface update action.
- Returns:
- oldInterface
-
setInterface
Payment interface of the Payment Method after the Set MethodInfo Interface update action.
- Parameters:
_interface
- value to be set
-
setOldInterface
Payment interface of the Payment Method before the Set MethodInfo Interface update action.
- Parameters:
oldInterface
- value to be set
-
of
factory method- Returns:
- instance of PaymentMethodInfoInterfaceSetMessage
-
of
factory method to create a shallow copy PaymentMethodInfoInterfaceSetMessage- Parameters:
template
- instance to be copied- Returns:
- copy instance
-
copyDeep
PaymentMethodInfoInterfaceSetMessage copyDeep()- Specified by:
copyDeep
in interfaceBaseResource
- Specified by:
copyDeep
in interfaceMessage
-
deepCopy
@Nullable static PaymentMethodInfoInterfaceSetMessage deepCopy(@Nullable PaymentMethodInfoInterfaceSetMessage template) factory method to create a deep copy of PaymentMethodInfoInterfaceSetMessage- Parameters:
template
- instance to be copied- Returns:
- copy instance
-
builder
builder factory method for PaymentMethodInfoInterfaceSetMessage- Returns:
- builder
-
builder
static PaymentMethodInfoInterfaceSetMessageBuilder builder(PaymentMethodInfoInterfaceSetMessage template) create builder for PaymentMethodInfoInterfaceSetMessage instance- Parameters:
template
- instance with prefilled values for the builder- Returns:
- builder
-
withPaymentMethodInfoInterfaceSetMessage
default <T> T withPaymentMethodInfoInterfaceSetMessage(Function<PaymentMethodInfoInterfaceSetMessage, 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<PaymentMethodInfoInterfaceSetMessage> typeReference()gives a TypeReference for usage with Jackson DataBind- Returns:
- TypeReference
-